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

Comment

parent c229c873
No related branches found
No related tags found
No related merge requests found
......@@ -775,6 +775,8 @@ class PresenceHandler(BaseHandler):
@defer.inlineCallbacks
def is_visible(self, observed_user, observer_user):
"""Returns whether a user can see another user's presence.
"""
observer_rooms = yield self.store.get_rooms_for_user(observer_user.to_string())
observed_rooms = yield self.store.get_rooms_for_user(observed_user.to_string())
......
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