mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix clearFromTopic on Linux
Looks like it was broken since addition
This commit is contained in:
parent
345b2cb835
commit
4ac48d0e4a
1 changed files with 2 additions and 1 deletions
|
@ -811,7 +811,8 @@ void Manager::Private::clearFromItem(not_null<HistoryItem*> item) {
|
|||
void Manager::Private::clearFromTopic(not_null<Data::ForumTopic*> 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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue