Merge pull request #901 from AyuBisht/master

Fixed a grammatical error
This commit is contained in:
DeepBlueV7.X 2022-01-18 14:04:11 +00:00 committed by GitHub
commit 34f049cc35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.