summary refs log tree commit diff
diff options
context:
space:
mode:
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())