Fix pushing useless notifications.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-10-30 03:48:16 +00:00
1 parent b24b59dc38
commit aedaf3f0c1
1 file changed
+4
+4
View File
@@ -105,6 +105,10 @@ pub(crate) async fn append_pdu(&self, pdu_id: RawPduId, pdu: &Pdu) -> Result {
highlights.push(user.clone());
}
if !notify && !highlight {
continue;
}
self.services
.pusher
.get_pushkeys(user)