mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Fix clearing of macOS native notifications.
This commit is contained in:
parent
7bc4b2c595
commit
4cf9bf18e9
1 changed files with 2 additions and 2 deletions
|
@ -395,8 +395,8 @@ void Manager::Private::clearAll() {
|
|||
|
||||
void Manager::Private::clearFromItem(not_null<HistoryItem*> item) {
|
||||
putClearTask(ClearFromItem { FullPeer{
|
||||
.sessionId = history->session().uniqueId(),
|
||||
.peerId = history->peer->id
|
||||
.sessionId = item->history()->session().uniqueId(),
|
||||
.peerId = item->history()->peer->id
|
||||
}, item->id });
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue