diff options
author | Erik Johnston <erik@matrix.org> | 2017-03-13 09:59:54 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-03-13 09:59:54 +0000 |
commit | 672dcf59d3f9da12da43a77e316e2eec76d3ee4c (patch) | |
tree | 9186644b06ef01e609ca018e02100ceecf0f3ea4 /synapse/handlers/presence.py | |
parent | Merge tag 'v0.19.3-rc1' into release-v0.19.3 (diff) | |
parent | Revert "Support registration & login with phone number" (diff) | |
download | synapse-672dcf59d3f9da12da43a77e316e2eec76d3ee4c.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.19.3
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r-- | synapse/handlers/presence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index fdfce2a88c..da610e430f 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -531,7 +531,7 @@ class PresenceHandler(object): # There are things not in our in memory cache. Lets pull them out of # the database. res = yield self.store.get_presence_for_users(missing) - states.update({state.user_id: state for state in res}) + states.update(res) missing = [user_id for user_id, state in states.items() if not state] if missing: |