mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -04:00
Allow guest users to join and message rooms
This commit is contained in:
parent
82e8a2d763
commit
38d82edf0e
7 changed files with 92 additions and 12 deletions
|
@ -950,7 +950,8 @@ class PresenceHandler(BaseHandler):
|
|||
)
|
||||
while len(self._remote_offline_serials) > MAX_OFFLINE_SERIALS:
|
||||
self._remote_offline_serials.pop() # remove the oldest
|
||||
del self._user_cachemap[user]
|
||||
if user in self._user_cachemap:
|
||||
del self._user_cachemap[user]
|
||||
else:
|
||||
# Remove the user from remote_offline_serials now that they're
|
||||
# no longer offline
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue