mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-03 23:44:12 -04:00
Add type hints to handlers.message and events.builder (#8067)
This commit is contained in:
parent
d68e10f308
commit
5dd73d029e
7 changed files with 60 additions and 40 deletions
|
@ -144,7 +144,9 @@ class RetentionTestCase(unittest.HomeserverTestCase):
|
|||
# Get the create event to, later, check that we can still access it.
|
||||
message_handler = self.hs.get_message_handler()
|
||||
create_event = self.get_success(
|
||||
message_handler.get_room_data(self.user_id, room_id, EventTypes.Create)
|
||||
message_handler.get_room_data(
|
||||
self.user_id, room_id, EventTypes.Create, state_key="", is_guest=False
|
||||
)
|
||||
)
|
||||
|
||||
# Send a first event to the room. This is the event we'll want to be purged at the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue