diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-18 16:20:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-18 16:20:49 -0400 |
commit | f40645e60b9cab69c953094848be61c0989a91cb (patch) | |
tree | 2ac850ce839e12a423871860bf288a313a0e1a92 /synapse/handlers/room_member.py | |
parent | Add a link to the matrix-synapse-rest-password-provider. (#8111) (diff) | |
download | synapse-f40645e60b9cab69c953094848be61c0989a91cb.tar.xz |
Convert events worker database to async/await. (#8071)
Diffstat (limited to 'synapse/handlers/room_member.py')
-rw-r--r-- | synapse/handlers/room_member.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py index 31705cdbdb..aa1ccde211 100644 --- a/synapse/handlers/room_member.py +++ b/synapse/handlers/room_member.py @@ -716,7 +716,7 @@ class RoomMemberHandler(object): guest_access = await self.store.get_event(guest_access_id) - return ( + return bool( guest_access and guest_access.content and "guest_access" in guest_access.content |