summary refs log tree commit diff
path: root/synapse/rest/presence.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-27 11:37:53 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-27 11:37:53 +0100
commit135a1aa229f09badb7aeb79e803ab5d7654230ac (patch)
tree82920cd159ff73e3fd61a6dc5b7100d7f95918af /synapse/rest/presence.py
parentRenamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and remov... (diff)
downloadsynapse-135a1aa229f09badb7aeb79e803ab5d7654230ac.tar.xz
Final url modifications: renamed /presence_list to /presence/list to keep the top-level namespace clean. Updated tests.
Diffstat (limited to 'synapse/rest/presence.py')
-rw-r--r--synapse/rest/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/presence.py b/synapse/rest/presence.py
index 6043848595..e013b20853 100644
--- a/synapse/rest/presence.py
+++ b/synapse/rest/presence.py
@@ -68,7 +68,7 @@ class PresenceStatusRestServlet(RestServlet):
 
 
 class PresenceListRestServlet(RestServlet):
-    PATTERN = client_path_pattern("/presence_list/(?P<user_id>[^/]*)")
+    PATTERN = client_path_pattern("/presence/list/(?P<user_id>[^/]*)")
 
     @defer.inlineCallbacks
     def on_GET(self, request, user_id):