mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Comment
This commit is contained in:
parent
dbf87282d3
commit
391712a4f9
@ -143,7 +143,7 @@ class SynchrotronPresence(object):
|
|||||||
"""
|
"""
|
||||||
going_offline = self.users_going_offline.pop(user_id, None)
|
going_offline = self.users_going_offline.pop(user_id, None)
|
||||||
if not going_offline:
|
if not going_offline:
|
||||||
# Safe to skip if we haven't yet told the master they were offline
|
# Safe to skip because we haven't yet told the master they were offline
|
||||||
self.send_user_sync(user_id, True, self.clock.time_msec())
|
self.send_user_sync(user_id, True, self.clock.time_msec())
|
||||||
|
|
||||||
def mark_as_going_offline(self, user_id):
|
def mark_as_going_offline(self, user_id):
|
||||||
|
Loading…
Reference in New Issue
Block a user