Skip to content
Snippets Groups Projects
Commit 32fdf8ef authored by Paul "LeoNerd" Evans's avatar Paul "LeoNerd" Evans
Browse files

No need to test is_presence_visible in _start_polling_local because we know it...

No need to test is_presence_visible in _start_polling_local because we know it will be by when it's called
parent 61e28cdb
Branches
Tags
No related merge requests found
......@@ -488,10 +488,6 @@ class PresenceHandler(BaseHandler):
def _start_polling_local(self, user, target_user):
target_localpart = target_user.localpart
if not self.is_presence_visible(observer_user=user,
observed_user=target_user):
return
if target_localpart not in self._local_pushmap:
self._local_pushmap[target_localpart] = set()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment