mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-09 04:24:56 -04:00
Simplify _locally_reject_invite
Update `EventCreationHandler.create_event` to accept an auth_events param, and use it in `_locally_reject_invite` instead of reinventing the wheel.
This commit is contained in:
parent
d9d86c2996
commit
a34b17e492
6 changed files with 52 additions and 57 deletions
|
@ -615,7 +615,7 @@ class PresenceJoinTestCase(unittest.HomeserverTestCase):
|
|||
self.store.get_latest_event_ids_in_room(room_id)
|
||||
)
|
||||
|
||||
event = self.get_success(builder.build(prev_event_ids))
|
||||
event = self.get_success(builder.build(prev_event_ids, None))
|
||||
|
||||
self.get_success(self.federation_handler.on_receive_pdu(hostname, event))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue