mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
commit
34f049cc35
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ ChatPage::sendNotifications(const mtx::responses::Notifications &res)
|
||||||
if (!cache::isNotificationSent(event_id)) {
|
if (!cache::isNotificationSent(event_id)) {
|
||||||
const auto room_id = QString::fromStdString(item.room_id);
|
const auto room_id = QString::fromStdString(item.room_id);
|
||||||
|
|
||||||
// We should only sent one notification per event.
|
// We should only send one notification per event.
|
||||||
cache::markSentNotification(event_id);
|
cache::markSentNotification(event_id);
|
||||||
|
|
||||||
// Don't send a notification when the current room is opened.
|
// Don't send a notification when the current room is opened.
|
||||||
|
|
Loading…
Reference in a new issue