mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 02:04:48 -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
|
@ -78,7 +78,7 @@ class ReplicationResourceCase(unittest.TestCase):
|
|||
@defer.inlineCallbacks
|
||||
def test_presence(self):
|
||||
get = self.get(presence="-1")
|
||||
yield self.hs.get_handlers().presence_handler.set_state(
|
||||
yield self.hs.get_presence_handler().set_state(
|
||||
self.user, {"presence": "online"}
|
||||
)
|
||||
code, body = yield get
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue