0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 01:13:50 +01:00

Only attempt to fetch presence state of JOINed members in room initialSync (SYN-202)

This commit is contained in:
Paul "LeoNerd" Evans 2015-02-12 19:11:52 +00:00 committed by Matthew Hodgson
parent 16c6b860ac
commit f22646efcc

View file

@ -372,6 +372,7 @@ class MessageHandler(BaseHandler):
room_members = [
m for m in current_state.values()
if m.type == EventTypes.Member
and m.content["membership"] == Membership.JOIN
]
presence_handler = self.hs.get_handlers().presence_handler