mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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());
|
cSetRecentStickers(RecentStickerPack());
|
||||||
App::clearMousedItems();
|
App::clearMousedItems();
|
||||||
_histories->clearAll();
|
_histories->clearAll();
|
||||||
|
_webpages.clear();
|
||||||
|
_locations.clear();
|
||||||
|
_polls.clear();
|
||||||
|
_games.clear();
|
||||||
|
_documents.clear();
|
||||||
|
_photos.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
not_null<PeerData*> Session::peer(PeerId id) {
|
not_null<PeerData*> Session::peer(PeerId id) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue