mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Use notify* instead of mark* in Data::Session.
This commit is contained in:
@@ -2424,12 +2424,12 @@ void History::clear(bool leaveItems) {
|
||||
forgetScrollState();
|
||||
}
|
||||
if (leaveItems) {
|
||||
Auth().data().markHistoryUnloaded(this);
|
||||
Auth().data().notifyHistoryUnloaded(this);
|
||||
} else {
|
||||
setLastMessage(nullptr);
|
||||
notifies.clear();
|
||||
Auth().storage().remove(Storage::SharedMediaRemoveAll(peer->id));
|
||||
Auth().data().markHistoryCleared(this);
|
||||
Auth().data().notifyHistoryCleared(this);
|
||||
}
|
||||
clearBlocks(leaveItems);
|
||||
if (leaveItems) {
|
||||
|
Reference in New Issue
Block a user