mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Remove "user_id" from GET /presence. (#7606)
This commit is contained in:
parent
1ad06ee6eb
commit
a3fbc23c39
2 changed files with 4 additions and 1 deletions
|
@ -51,7 +51,9 @@ 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())
|
||||
state = format_user_presence_state(
|
||||
state, self.clock.time_msec(), include_user_id=False
|
||||
)
|
||||
|
||||
return 200, state
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue