mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
stop and clear audio on logout, clearing bot keyboards in supergroups
This commit is contained in:
@@ -2021,14 +2021,20 @@ namespace Local {
|
||||
if (_localLoader) {
|
||||
_localLoader->stop();
|
||||
}
|
||||
|
||||
_passKeySalt.clear(); // reset passcode, local key
|
||||
_draftsMap.clear();
|
||||
_draftsPositionsMap.clear();
|
||||
_fileLocations.clear();
|
||||
_fileLocationPairs.clear();
|
||||
_fileLocationAliases.clear();
|
||||
_imagesMap.clear();
|
||||
_draftsNotReadMap.clear();
|
||||
_stickerImagesMap.clear();
|
||||
_audiosMap.clear();
|
||||
_storageImagesSize = _storageStickersSize = _storageAudiosSize = 0;
|
||||
_locationsKey = _reportSpamStatusesKey = _recentStickersKeyOld = _stickersKey = _backgroundKey = _userSettingsKey = _recentHashtagsKey = _savedPeersKey = 0;
|
||||
_oldMapVersion = _oldSettingsVersion = 0;
|
||||
_mapChanged = true;
|
||||
_writeMap(WriteMapNow);
|
||||
|
||||
|
Reference in New Issue
Block a user