summary refs log tree commit diff
path: root/synapse/rest/client/presence.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/client/presence.py')
-rw-r--r--synapse/rest/client/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/presence.py b/synapse/rest/client/presence.py
index 8e193330f8..d578faa969 100644
--- a/synapse/rest/client/presence.py
+++ b/synapse/rest/client/presence.py
@@ -97,7 +97,7 @@ class PresenceStatusRestServlet(RestServlet):
             raise SynapseError(400, "Unable to parse state")
 
         if self._use_presence:
-            await self.presence_handler.set_state(user, state)
+            await self.presence_handler.set_state(user, requester.device_id, state)
 
         return 200, {}