2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Remove some activeAccount() calls.

This commit is contained in:
John Preston
2020-06-10 18:52:44 +04:00
parent 598fb67cdf
commit ea86433be5
28 changed files with 132 additions and 58 deletions

View File

@@ -547,7 +547,7 @@ void ChatBackground::start() {
set(Data::ThemeWallPaper());
}
Core::App().activeAccount().sessionValue(
Core::App().activeAccount().sessionValue( // #TODO multi activeSessionValue
) | rpl::filter([=](Main::Session *session) {
return session != _session;
}) | rpl::start_with_next([=](Main::Session *session) {