2
0
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:
John Preston
2015-08-04 18:01:47 +03:00
parent ad8e3f36ad
commit aabf136690
12 changed files with 225 additions and 55 deletions

View File

@@ -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);
}