mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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) {
|
void Manager::Private::clearFromItem(not_null<HistoryItem*> item) {
|
||||||
putClearTask(ClearFromItem { FullPeer{
|
putClearTask(ClearFromItem { FullPeer{
|
||||||
.sessionId = history->session().uniqueId(),
|
.sessionId = item->history()->session().uniqueId(),
|
||||||
.peerId = history->peer->id
|
.peerId = item->history()->peer->id
|
||||||
}, item->id });
|
}, item->id });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue