summary refs log tree commit diff
path: root/synapse/handlers/presence.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-02-15 10:17:01 +0000
committerErik Johnston <erik@matrix.org>2017-02-15 10:17:01 +0000
commit3b42bb96e4bba78ea881f35673964a97d57a9d26 (patch)
tree3ab584bb3bbed269d4f95d0cab484e1d5836ec74 /synapse/handlers/presence.py
parentMerge branch 'develop' into matrix-org-hotfixes (diff)
parentMerge pull request #1914 from matrix-org/erikj/cache_presence (diff)
downloadsynapse-3b42bb96e4bba78ea881f35673964a97d57a9d26.tar.xz
Merge commit 'd7457c7661fa3b28427b21f44252c3abbee45ef8' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r--synapse/handlers/presence.py2
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: