Remove loading forcing to load every room
This commit is contained in:
@@ -220,11 +220,6 @@ void NeoChatRoom::countChanged()
|
|||||||
QDateTime NeoChatRoom::lastActiveTime()
|
QDateTime NeoChatRoom::lastActiveTime()
|
||||||
{
|
{
|
||||||
if (timelineSize() == 0) {
|
if (timelineSize() == 0) {
|
||||||
QTimer::singleShot(0, this, [=]() {
|
|
||||||
if (localUser()) {
|
|
||||||
getPreviousContent(10);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
return QDateTime();
|
return QDateTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user