Oops, we need to use defer.returnValue.

pull/4/merge
Erik Johnston 10 years ago
parent 5b058a79cb
commit cda4ff8519
  1. 3
      synapse/handlers/presence.py

@ -142,7 +142,8 @@ class PresenceHandler(BaseHandler):
@defer.inlineCallbacks
def is_presence_visible(self, observer_user, observed_user):
return defer.succeed(True)
defer.returnValue(True)
return
# FIXME (erikj): This code path absolutely kills the database.
assert(observed_user.is_mine)

Loading…
Cancel
Save