mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Only attempt to fetch presence state of JOINed members in room initialSync (SYN-202)
This commit is contained in:
parent
92d850fc87
commit
860b1b4841
@ -372,6 +372,7 @@ class MessageHandler(BaseHandler):
|
|||||||
room_members = [
|
room_members = [
|
||||||
m for m in current_state.values()
|
m for m in current_state.values()
|
||||||
if m.type == EventTypes.Member
|
if m.type == EventTypes.Member
|
||||||
|
and m.content["membership"] == Membership.JOIN
|
||||||
]
|
]
|
||||||
|
|
||||||
presence_handler = self.hs.get_handlers().presence_handler
|
presence_handler = self.hs.get_handlers().presence_handler
|
||||||
|
Loading…
Reference in New Issue
Block a user