From 270d3028343191374b7b958a36d761daf9422f01 Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Mon, 1 Sep 2014 22:14:56 +0100 Subject: Reënable presence visibility permission checking now it's not used on redundant code paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- synapse/handlers/presence.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'synapse/handlers') diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index ff04be1460..7372a10f9b 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -150,10 +150,6 @@ class PresenceHandler(BaseHandler): @defer.inlineCallbacks def is_presence_visible(self, observer_user, observed_user): - defer.returnValue(True) - # return - # FIXME (erikj): This code path absolutely kills the database. - assert(observed_user.is_mine) if observer_user == observed_user: -- cgit 1.4.1