mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-09 21:42:23 -04:00
Remove unused parameter from, and add safeguard in, get_room_data (#8174)
Small cleanup PR. * Removed the unused `is_guest` argument * Added a safeguard to a (currently) impossible code path, fixing static checking at the same time.
This commit is contained in:
parent
ed18f32e1b
commit
e0d6244beb
4 changed files with 14 additions and 10 deletions
|
@ -178,7 +178,7 @@ class RetentionTestCase(unittest.HomeserverTestCase):
|
|||
message_handler = self.hs.get_message_handler()
|
||||
create_event = self.get_success(
|
||||
message_handler.get_room_data(
|
||||
self.user_id, room_id, EventTypes.Create, state_key="", is_guest=False
|
||||
self.user_id, room_id, EventTypes.Create, state_key=""
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue