mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Allow deleting images in ~DocumentData.
This commit is contained in:
parent
fc5dbc6003
commit
1ed57238a7
1 changed files with 6 additions and 0 deletions
|
@ -235,6 +235,12 @@ void Session::clear() {
|
|||
cSetRecentStickers(RecentStickerPack());
|
||||
App::clearMousedItems();
|
||||
_histories->clearAll();
|
||||
_webpages.clear();
|
||||
_locations.clear();
|
||||
_polls.clear();
|
||||
_games.clear();
|
||||
_documents.clear();
|
||||
_photos.clear();
|
||||
}
|
||||
|
||||
not_null<PeerData*> Session::peer(PeerId id) {
|
||||
|
|
Loading…
Add table
Reference in a new issue