mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
search in conversation, clear history and delete conversation for all chats
This commit is contained in:
@@ -1752,15 +1752,6 @@ namespace App {
|
||||
}
|
||||
}
|
||||
|
||||
/* // don't delete history without deleting its' peerdata
|
||||
void deleteHistory(const PeerId &peer) {
|
||||
Histories::iterator i = ::histories.find(peer);
|
||||
if (i != ::histories.end()) {
|
||||
::histories.typing.remove(i.value());
|
||||
::histories.erase(i);
|
||||
}
|
||||
}
|
||||
/**/
|
||||
void historyRegRandom(uint64 randomId, MsgId itemId) {
|
||||
randomData.insert(randomId, itemId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user