summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-04 15:10:43 +0200
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-09-04 15:04:49 +0100
commit26efd6f151f801c41e0a0e42c6a51bc1d79444e6 (patch)
treea11aa11f98f8d1ba85992f2025328137af68e756
parentFixed registration flow when registering with matrixID & password and no email (diff)
downloadsynapse-26efd6f151f801c41e0a0e42c6a51bc1d79444e6.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
             });
         },