mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 23:25:15 +00:00
Remove facades module.
This commit is contained in:
@@ -1236,10 +1236,7 @@ void Application::closeChatFromWindows(not_null<PeerData*> peer) {
|
||||
const auto primary = _primaryWindow->sessionController();
|
||||
if ((primary->activeChatCurrent().peer() == peer)
|
||||
&& (&primary->session() == &peer->session())) {
|
||||
// showChatsList
|
||||
primary->showPeerHistory(
|
||||
PeerId(0),
|
||||
Window::SectionShow::Way::ClearStack);
|
||||
primary->clearSectionStack();
|
||||
}
|
||||
if (const auto forum = primary->shownForum().current()) {
|
||||
if (peer->forum() == forum) {
|
||||
|
Reference in New Issue
Block a user