mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 17:53:51 +01:00
No need to test is_presence_visible in _start_polling_local because we know it will be by when it's called
This commit is contained in:
parent
61e28cdb6f
commit
32fdf8efd6
1 changed files with 0 additions and 4 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue