mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Remove remaining is_guest argument uses from get_room_data calls (#8181)
#8174 removed the `is_guest` parameter from `get_room_data`, at the same time that #8157 was merged using it, colliding together to break unit tests on develop. This PR removes the `is_guest` parameter from the call in the broken test. Uses the same changelog as #8174.
This commit is contained in:
parent
6fe12c9512
commit
b8f20e4276
1
changelog.d/8181.misc
Normal file
1
changelog.d/8181.misc
Normal file
@ -0,0 +1 @@
|
||||
Remove unused `is_guest` parameter from, and add safeguard to, `MessageHandler.get_room_data`.
|
@ -271,11 +271,7 @@ class ProfileTestCase(_ShadowBannedBase):
|
||||
message_handler = self.hs.get_message_handler()
|
||||
event = self.get_success(
|
||||
message_handler.get_room_data(
|
||||
self.banned_user_id,
|
||||
room_id,
|
||||
"m.room.member",
|
||||
self.banned_user_id,
|
||||
False,
|
||||
self.banned_user_id, room_id, "m.room.member", self.banned_user_id,
|
||||
)
|
||||
)
|
||||
self.assertEqual(
|
||||
@ -308,11 +304,7 @@ class ProfileTestCase(_ShadowBannedBase):
|
||||
message_handler = self.hs.get_message_handler()
|
||||
event = self.get_success(
|
||||
message_handler.get_room_data(
|
||||
self.banned_user_id,
|
||||
room_id,
|
||||
"m.room.member",
|
||||
self.banned_user_id,
|
||||
False,
|
||||
self.banned_user_id, room_id, "m.room.member", self.banned_user_id,
|
||||
)
|
||||
)
|
||||
self.assertEqual(
|
||||
|
Loading…
Reference in New Issue
Block a user