mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-05 19:39:27 +00:00
Make is_presence_visible always return true as it was thrashing the database.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user