mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-24 18:13:51 -05: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
|
|
@ -171,7 +171,6 @@ class RoomStateEventRestServlet(TransactionRestServlet):
|
|||
room_id=room_id,
|
||||
event_type=event_type,
|
||||
state_key=state_key,
|
||||
is_guest=requester.is_guest,
|
||||
)
|
||||
|
||||
if not data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue