diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp index b1fb8327e..6881694d9 100644 --- a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp @@ -811,7 +811,8 @@ void Manager::Private::clearFromItem(not_null item) { void Manager::Private::clearFromTopic(not_null topic) { const auto key = ContextId{ .sessionId = topic->session().uniqueId(), - .peerId = topic->history()->peer->id + .peerId = topic->history()->peer->id, + .topicRootId = topic->rootId(), }; const auto i = _notifications.find(key); if (i != _notifications.cend()) {