mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 21:26:50 +00:00
Fix pushing useless notifications.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
b24b59dc38
commit
aedaf3f0c1
1 file changed
+4
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user