fix: element android did not reset notification counts

This commit is contained in:
Timo Kösters
2022-10-30 20:36:14 +01:00
parent e86fb11512
commit 02dd3d32f2
7 changed files with 40 additions and 14 deletions

View File

@@ -282,9 +282,8 @@ async fn sync_helper(
let send_notification_counts = !timeline_pdus.is_empty()
|| services()
.rooms
.edus
.read_receipt
.last_privateread_update(&sender_user, &room_id)?
.user
.last_notification_read(&sender_user, &room_id)?
> since;
let mut timeline_users = HashSet::new();