diff --git a/Telegram/SourceFiles/window/notifications_manager.cpp b/Telegram/SourceFiles/window/notifications_manager.cpp index 58ad1b9e1..0d2ae7e6b 100644 --- a/Telegram/SourceFiles/window/notifications_manager.cpp +++ b/Telegram/SourceFiles/window/notifications_manager.cpp @@ -861,6 +861,12 @@ QString Manager::addTargetAccountName( const QString &title, not_null session) { const auto add = [&] { + if (const auto activeSession = Core::App().domain().active().maybeSession()) { + if (session == activeSession) { + return false; + } + } + for (const auto &[index, account] : Core::App().domain().accounts()) { if (const auto other = account->maybeSession()) { if (other != session) {