summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-08-28 10:50:39 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-08-28 16:00:14 +0100
commitc46c8061261c365934d378e52bf721cf400a3303 (patch)
tree4de05397fc9de51c5334b04acfa9f73bf8cb19fe /synapse/handlers
parentDo a smart update of the recents from the events stream rather than hammering... (diff)
downloadsynapse-c46c8061261c365934d378e52bf721cf400a3303.tar.xz
Re-enable presence, un-skip presence tests
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/presence.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py
index c479908f61..1b3cdcc38c 100644
--- a/synapse/handlers/presence.py
+++ b/synapse/handlers/presence.py
@@ -141,10 +141,6 @@ class PresenceHandler(BaseHandler):
 
     @defer.inlineCallbacks
     def is_presence_visible(self, observer_user, observed_user):
-        defer.returnValue(True)
-        return
-        # FIXME (erikj): This code path absolutely kills the database.
-
         assert(observed_user.is_mine)
 
         if observer_user == observed_user:
@@ -189,10 +185,6 @@ class PresenceHandler(BaseHandler):
 
     @defer.inlineCallbacks
     def set_state(self, target_user, auth_user, state):
-        return
-        # TODO (erikj): Turn this back on. Why did we end up sending EDUs
-        # everywhere?
-
         if not target_user.is_mine:
             raise SynapseError(400, "User is not hosted on this Home Server")