mirror of https://github.com/procxx/kepka.git
Allow deleting images in ~DocumentData.
This commit is contained in:
parent
fc5dbc6003
commit
1ed57238a7
|
@ -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…
Reference in New Issue