summary refs log tree commit diff
path: root/synapse/handlers/presence.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-18 09:09:50 +0000
committerErik Johnston <erik@matrix.org>2016-02-18 09:09:50 +0000
commit58371fa263ce6faad3a96c202b226ced32e8e84e (patch)
tree22c8a13ef2d3fd6ba8b302d23a5c1dcb8c16f459 /synapse/handlers/presence.py
parentRemove spurious comment (diff)
downloadsynapse-58371fa263ce6faad3a96c202b226ced32e8e84e.tar.xz
Comment
Diffstat (limited to '')
-rw-r--r--synapse/handlers/presence.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py
index 38d2ecc43a..3b01e9a072 100644
--- a/synapse/handlers/presence.py
+++ b/synapse/handlers/presence.py
@@ -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())