Simplify HistoryHider, remove most of uses.

This commit is contained in:
John Preston
2022-11-30 16:02:40 +04:00
parent 188c6ba64a
commit eaed91263e
16 changed files with 174 additions and 413 deletions
@@ -641,7 +641,7 @@ void SessionNavigation::showThread(
showPeerHistory(thread->asHistory(), params, itemId);
}
if (parentController()->activeChatCurrent().thread() == thread) {
parentController()->content()->clearSelectingPeer();
parentController()->content()->hideDragForwardInfo();
}
}