summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-04 15:10:43 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-04 15:10:43 +0200
commit1bf6c3faad3b072462852821892724da68270090 (patch)
tree8cb69d0e89a8b75406eba14cbcf43ef2344c4a1d
parentFixed registration flow when registering with matrixID & password and no email (diff)
downloadsynapse-1bf6c3faad3b072462852821892724da68270090.tar.xz
BF: presence PUT requests stopped to work with old "state" param yesterday evening :( -https://github.com/matrix-org/synapse/commit/cda31fb7553ba3d880de09a464ae3b62ea6632fc?diff=unified
-rw-r--r--webclient/components/matrix/matrix-service.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/components/matrix/matrix-service.js b/webclient/components/matrix/matrix-service.js
index 7c6d4ae50f..25222a9e9e 100644
--- a/webclient/components/matrix/matrix-service.js
+++ b/webclient/components/matrix/matrix-service.js
@@ -434,7 +434,7 @@ angular.module('matrixService', [])
             var path = "/presence/$user_id/status";
             path = path.replace("$user_id", config.user_id);
             return doRequest("PUT", path, undefined, {
-                state: presence
+                presence: presence
             });
         },