Skip to content
Snippets Groups Projects
Commit 5b058a79 authored by Erik Johnston's avatar Erik Johnston
Browse files

Make is_presence_visible always return true as it was thrashing the database.

parent b18db63c
No related branches found
No related tags found
No related merge requests found
......@@ -142,6 +142,9 @@ class PresenceHandler(BaseHandler):
@defer.inlineCallbacks
def is_presence_visible(self, observer_user, observed_user):
return defer.succeed(True)
# FIXME (erikj): This code path absolutely kills the database.
assert(observed_user.is_mine)
if observer_user == observed_user:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment