mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-22 06:34:59 -05:00
Add comment
This commit is contained in:
parent
1a3255b507
commit
b5f0d73ea3
@ -242,6 +242,10 @@ class FederationHandler(BaseHandler):
|
||||
if history:
|
||||
visibility = history.content.get("history_visibility", "shared")
|
||||
if visibility in ["invited", "joined"]:
|
||||
# We now loop through all state events looking for
|
||||
# membership states for the requesting server to determine
|
||||
# if the server is either in the room or has been invited
|
||||
# into the room.
|
||||
for ev in state.values():
|
||||
if ev.type != EventTypes.Member:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user