summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorWill Hunt <half-shot@molrams.com>2016-08-10 12:57:30 +0100
committerWill Hunt <half-shot@molrams.com>2016-08-10 12:59:59 +0100
commit2510db3e760320b8eeffd9b9a0a0a193ce49f5ba (patch)
tree5a9d55c280363329cc1cbc9eb0b38f6426e53c16 /synapse/rest/client
parentMerge pull request #996 from matrix-org/erikj/tls_error (diff)
downloadsynapse-2510db3e760320b8eeffd9b9a0a0a193ce49f5ba.tar.xz
Don't change status_msg on /sync
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v2_alpha/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py
index 43d8e0bf39..b11acdbea7 100644
--- a/synapse/rest/client/v2_alpha/sync.py
+++ b/synapse/rest/client/v2_alpha/sync.py
@@ -146,7 +146,7 @@ class SyncRestServlet(RestServlet):
         affect_presence = set_presence != PresenceState.OFFLINE
 
         if affect_presence:
-            yield self.presence_handler.set_state(user, {"presence": set_presence})
+            yield self.presence_handler.set_state(user, {"presence": set_presence}, True)
 
         context = yield self.presence_handler.user_syncing(
             user.to_string(), affect_presence=affect_presence,