summary refs log tree commit diff
path: root/synapse/handlers/presence.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-19 16:41:13 +0100
committerErik Johnston <erik@matrix.org>2014-08-19 16:41:13 +0100
commite2b861cc67dc7be2b9f4fc8153cb37da362eee9c (patch)
treeff158048eecc19f0c76494b393e8e74102bb548f /synapse/handlers/presence.py
parentRemove debug logging from token parsing funcs. (diff)
parentAdded registration/login jsfiddle, formatted so it can be loaded directly fro... (diff)
downloadsynapse-e2b861cc67dc7be2b9f4fc8153cb37da362eee9c.tar.xz
Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r--synapse/handlers/presence.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py
index 319e3c7c81..540e114b82 100644
--- a/synapse/handlers/presence.py
+++ b/synapse/handlers/presence.py
@@ -231,9 +231,6 @@ class PresenceHandler(BaseHandler):
         #   we don't have to do this all the time
         self.changed_presencelike_data(target_user, state)
 
-        if not now_online:
-            del self._user_cachemap[target_user]
-
     def changed_presencelike_data(self, user, state):
         statuscache = self._get_or_make_usercache(user)