mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
pseudo-online for hidden last-seen done
This commit is contained in:
@@ -1413,7 +1413,8 @@ void History::newItemAdded(HistoryItem *item) {
|
||||
if (item->from()) {
|
||||
unregTyping(item->from());
|
||||
if (item->from()->onlineTill < 0) {
|
||||
item->from()->onlineTill = -unixtime() - HiddenIsOnlineAfterMessage;
|
||||
item->from()->onlineTill = -unixtime() - HiddenIsOnlineAfterMessage; // pseudo-online
|
||||
if (App::main()) App::main()->peerUpdated(item->from());
|
||||
}
|
||||
}
|
||||
if (item->out()) {
|
||||
|
Reference in New Issue
Block a user