diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-22 18:21:21 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-22 18:21:21 +0100 |
commit | 5b058a79cbe4ba0e8d35a52aa79693fe5a074537 (patch) | |
tree | 0e28979bcb9758c6f88ed4b8082e8bab843624dd | |
parent | Turn off more spammy logging. (diff) | |
download | synapse-5b058a79cbe4ba0e8d35a52aa79693fe5a074537.tar.xz |
Make is_presence_visible always return true as it was thrashing the database.
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/presence.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index 4ce77cbff1..bccb24a109 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -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: |