diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-13 17:12:50 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-13 17:23:49 +0100 |
commit | 505917cb975e521f9095194366b7acc3e18ce85a (patch) | |
tree | 10a655f22bcae1149b386620b094a6a8517880f3 /tests/handlers/test_presencelike.py | |
parent | Define the concept of a 'federation Query'; creating API for making and handl... (diff) | |
download | synapse-505917cb975e521f9095194366b7acc3e18ce85a.tar.xz |
Use new Federation Query API to implement HS->HS fetching of remote users' profile information instead of (ab)using the client-side REST API
Diffstat (limited to 'tests/handlers/test_presencelike.py')
-rw-r--r-- | tests/handlers/test_presencelike.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/handlers/test_presencelike.py b/tests/handlers/test_presencelike.py index 224cf646f4..f244ab6007 100644 --- a/tests/handlers/test_presencelike.py +++ b/tests/handlers/test_presencelike.py @@ -43,6 +43,9 @@ class MockReplication(object): def register_edu_handler(self, edu_type, handler): self.edu_handlers[edu_type] = handler + def register_query_handler(self, query_type, handler): + pass + def received_edu(self, origin, edu_type, content): self.edu_handlers[edu_type](origin, content) |