summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2016-08-11 14:10:55 +0100
committerGitHub <noreply@github.com>2016-08-11 14:10:55 +0100
commit832799dbff31d085733ea56c54bcb8aab8799366 (patch)
tree5b61045e8c7174cb178b1f1b48de42e6d69ca67c /synapse/rest
parentMerge pull request #1003 from matrix-org/erikj/redaction_prev_content (diff)
parentSynced up synchrotron set_state with PresenceHandler set_state (diff)
downloadsynapse-832799dbff31d085733ea56c54bcb8aab8799366.tar.xz
Merge pull request #997 from Half-Shot/develop
Don't change status_msg on /sync
Diffstat (limited to 'synapse/rest')
-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,