Fix pushing useless notifications.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-10-29 23:39:26 +00:00
parent b24b59dc38
commit aedaf3f0c1

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)