fix: batch event

This commit is contained in:
Timo Ley 2023-06-08 21:44:56 +02:00
parent 5ffc2ecd01
commit a7248cf5a4
1 changed files with 1 additions and 2 deletions

View File

@ -384,8 +384,7 @@ class RoomBatchHandler:
await self.create_requester_for_user_id_from_app_service(
event.sender, app_service_requester.app_service
),
event=event,
context=context,
events_and_context=[(event, context)],
dont_notify=index < len(events_to_persist) - 1,
)
return event_ids