mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:26:02 -04:00
Move the presence handler out of the Handlers object
This commit is contained in:
parent
2d98c960ec
commit
3b86ecfa79
12 changed files with 29 additions and 18 deletions
|
@ -860,7 +860,7 @@ class PresenceEventSource(object):
|
|||
from_key = int(from_key)
|
||||
room_ids = room_ids or []
|
||||
|
||||
presence = self.hs.get_handlers().presence_handler
|
||||
presence = self.hs.get_presence_handler()
|
||||
stream_change_cache = self.store.presence_stream_cache
|
||||
|
||||
if not room_ids:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue