summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2015-12-01 16:11:03 +0000
committerMark Haines <mjark@negativecurvature.net>2015-12-01 16:11:03 +0000
commitaf96c6f4d31ee69a278ff3d7c7bf0be198141694 (patch)
tree65cf80f9305f0170e7cad6264144349a5319c62c /synapse/rest/client
parentMerge pull request #402 from matrix-org/markjh/event_formatting (diff)
parentrename the method in the tests as well (diff)
downloadsynapse-af96c6f4d31ee69a278ff3d7c7bf0be198141694.tar.xz
Merge pull request #404 from matrix-org/markjh/trivial_rename
Rename presence_handler.send_invite
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v1/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/presence.py b/synapse/rest/client/v1/presence.py
index 6fe5d19a22..48533f9d60 100644
--- a/synapse/rest/client/v1/presence.py
+++ b/synapse/rest/client/v1/presence.py
@@ -120,7 +120,7 @@ class PresenceListRestServlet(ClientV1RestServlet):
                 if len(u) == 0:
                     continue
                 invited_user = UserID.from_string(u)
-                yield self.handlers.presence_handler.send_invite(
+                yield self.handlers.presence_handler.send_presence_invite(
                     observer_user=user, observed_user=invited_user
                 )