summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-09-02 16:16:51 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-09-03 10:40:48 +0100
commitda3e04df8bcbb42f383abf406f4d71cf54b77ae2 (patch)
tree98ca8467f9c8a79740e27a581f5ebc01abfab891 /synapse/handlers
parentAllow optional non-suppression of exceptions through the Distributor (diff)
downloadsynapse-da3e04df8bcbb42f383abf406f4d71cf54b77ae2.tar.xz
Rename the 'do_users_share_a_room' to something slightly less verb-sounding
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py
index 8c1c2bf850..48549b03e5 100644
--- a/synapse/handlers/presence.py
+++ b/synapse/handlers/presence.py
@@ -155,7 +155,7 @@ class PresenceHandler(BaseHandler):
         if observer_user == observed_user:
             defer.returnValue(True)
 
-        if (yield self.store.do_users_share_a_room(
+        if (yield self.store.user_rooms_intersect(
             [observer_user, observed_user]
         )):
             defer.returnValue(True)