summary refs log tree commit diff
path: root/webclient
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-08-27 13:59:14 +0100
committerDavid Baker <dbkr@matrix.org>2014-08-27 13:59:14 +0100
commit474d9137128b2421ba636bfe256dae1447e29e77 (patch)
tree50caceb55a3b8a7065c925e924db6b80bb0dfd0b /webclient
parentgit ignore all the homeserver*.db files (diff)
downloadsynapse-474d9137128b2421ba636bfe256dae1447e29e77.tar.xz
fix joining rooms on webclient
Diffstat (limited to 'webclient')
-rw-r--r--webclient/components/matrix/matrix-service.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/webclient/components/matrix/matrix-service.js b/webclient/components/matrix/matrix-service.js
index ba4c3aeeca..e467ca40da 100644
--- a/webclient/components/matrix/matrix-service.js
+++ b/webclient/components/matrix/matrix-service.js
@@ -124,7 +124,8 @@ angular.module('matrixService', [])
 
             path = path.replace("$room_alias", room_alias);
 
-            return doRequest("PUT", path, undefined, {});
+            // TODO: PUT with txn ID
+            return doRequest("POST", path, undefined, {});
         },
 
         // Invite a user to a room