1
0

Revert "Remove "user_id" from GET /presence. (#7606)"

This reverts commit a3fbc23c39.
This commit is contained in:
Brendan Abolivier
2020-08-18 11:22:30 +01:00
parent b90ecbe9e5
commit 5fbc0362b5

View File

@@ -49,9 +49,7 @@ class PresenceStatusRestServlet(RestServlet):
raise AuthError(403, "You are not allowed to see their presence.")
state = await self.presence_handler.get_state(target_user=user)
state = format_user_presence_state(
state, self.clock.time_msec(), include_user_id=False
)
state = format_user_presence_state(state, self.clock.time_msec())
return 200, state