mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Support per-topic notification settings.
This commit is contained in:
@@ -3892,7 +3892,9 @@ void Session::removeChatListEntry(Dialogs::Key key) {
|
||||
_contactsNoChatsList.addByName(key);
|
||||
}
|
||||
}
|
||||
if (const auto history = key.history()) {
|
||||
if (const auto topic = key.topic()) {
|
||||
Core::App().notifications().clearFromTopic(topic);
|
||||
} else if (const auto history = key.history()) {
|
||||
Core::App().notifications().clearFromHistory(history);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user