2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Added search to files and links shared media.

This commit is contained in:
John Preston
2017-10-30 23:24:20 +04:00
parent a27edcad1c
commit eb2719fad1
25 changed files with 1110 additions and 220 deletions

View File

@@ -603,8 +603,8 @@ namespace {
}
if (updatedFrom) {
channel->mgInfo->migrateFromPtr = cdata;
if (History *h = App::historyLoaded(cdata->id)) {
if (History *hto = App::historyLoaded(channel->id)) {
if (auto h = App::historyLoaded(cdata->id)) {
if (auto hto = App::historyLoaded(channel->id)) {
if (!h->isEmpty()) {
h->clear(true);
}