diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-05-16 18:56:37 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-05-16 18:56:37 +0100 |
commit | 3b86ecfa7965f4d29e0f5ce8fb663e5f018adf89 (patch) | |
tree | 98f7e429892fa3e18bf88f920279c9c712d15b25 /tests/replication/test_resource.py | |
parent | Merge pull request #760 from matrix-org/matthew/preview_url_ip_whitelist (diff) | |
download | synapse-3b86ecfa7965f4d29e0f5ce8fb663e5f018adf89.tar.xz |
Move the presence handler out of the Handlers object
Diffstat (limited to '')
-rw-r--r-- | tests/replication/test_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/replication/test_resource.py b/tests/replication/test_resource.py index b1dd7b4a74..1258aaacb1 100644 --- a/tests/replication/test_resource.py +++ b/tests/replication/test_resource.py @@ -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 |