From 4e57ce8dbb701ba72af240e4cf2fff780980944e Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 26 Jun 2020 21:50:36 +0400 Subject: [PATCH] Fix crash in filters update. --- Telegram/SourceFiles/window/window_session_controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/window/window_session_controller.cpp b/Telegram/SourceFiles/window/window_session_controller.cpp index 5e051b6ee6..a48a290567 100644 --- a/Telegram/SourceFiles/window/window_session_controller.cpp +++ b/Telegram/SourceFiles/window/window_session_controller.cpp @@ -156,7 +156,7 @@ SessionController::SessionController( crl::on_main(this, [=] { refreshFiltersMenu(); }); - }, session->lifetime()); + }, lifetime()); session->addWindow(this); }