diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-02-12 19:11:52 +0000 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-02-12 19:13:21 +0000 |
commit | 860b1b4841618ec401c3652dcf19ac8b5d167f50 (patch) | |
tree | fdee028aa2fba062292e4ad38844bf6081399f78 /synapse/handlers/message.py | |
parent | Merge branch 'master' of github.com:matrix-org/synapse into develop (diff) | |
download | synapse-860b1b4841618ec401c3652dcf19ac8b5d167f50.tar.xz |
Only attempt to fetch presence state of JOINed members in room initialSync (SYN-202)
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 3355adefcf..c6d6188d9d 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -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 |