Turn off presence again.

This commit is contained in:
Erik Johnston 2014-08-27 16:09:48 +01:00
parent 08881d808d
commit 7917ff1271

View file

@ -142,7 +142,7 @@ class PresenceHandler(BaseHandler):
@defer.inlineCallbacks
def is_presence_visible(self, observer_user, observed_user):
defer.returnValue(True)
#return
return
# FIXME (erikj): This code path absolutely kills the database.
assert(observed_user.is_mine)
@ -189,7 +189,7 @@ class PresenceHandler(BaseHandler):
@defer.inlineCallbacks
def set_state(self, target_user, auth_user, state):
# return
return
# TODO (erikj): Turn this back on. Why did we end up sending EDUs
# everywhere?