mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 10:34:13 -04:00
Add support for batch sending new events
This commit is contained in:
parent
a7bdc4a1ed
commit
4eddcf6653
6 changed files with 86 additions and 20 deletions
|
@ -332,6 +332,7 @@ class BulkPushRuleEvaluator:
|
|||
if (
|
||||
not event.internal_metadata.is_notifiable()
|
||||
or event.internal_metadata.is_historical()
|
||||
or event.content.get(EventContentFields.MSC2716_HISTORICAL)
|
||||
):
|
||||
# Push rules for events that aren't notifiable can't be processed by this and
|
||||
# we want to skip push notification actions for historical messages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue