fix: Push notifications for invite over federation (#13719)

This commit is contained in:
Kateřina Churanová 2022-09-28 14:31:53 +02:00 committed by GitHub
parent 5c429b86b4
commit 6caa303083
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 42 additions and 23 deletions

View file

@ -2170,6 +2170,7 @@ class FederationEventHandler:
if instance != self._instance_name:
# Limit the number of events sent over replication. We choose 200
# here as that is what we default to in `max_request_body_size(..)`
result = {}
try:
for batch in batch_iter(event_and_contexts, 200):
result = await self._send_events(