Fix pushing useless notifications.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -105,6 +105,10 @@ pub(crate) async fn append_pdu(&self, pdu_id: RawPduId, pdu: &Pdu) -> Result {
|
|||||||
highlights.push(user.clone());
|
highlights.push(user.clone());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !notify && !highlight {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
self.services
|
self.services
|
||||||
.pusher
|
.pusher
|
||||||
.get_pushkeys(user)
|
.get_pushkeys(user)
|
||||||
|
|||||||
Reference in New Issue
Block a user