mirror of
https://github.com/element-hq/synapse
synced 2024-09-05 16:30:06 +00:00
"You are not..."
This commit is contained in:
parent
e6c5e3f28a
commit
e12ec335a5
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class PresenceStatusRestServlet(ClientV1RestServlet):
|
||||||
)
|
)
|
||||||
|
|
||||||
if not allowed:
|
if not allowed:
|
||||||
raise AuthError(403, "You are allowed to see their presence.")
|
raise AuthError(403, "You are not allowed to see their presence.")
|
||||||
|
|
||||||
state = yield self.handlers.presence_handler.get_state(target_user=user)
|
state = yield self.handlers.presence_handler.get_state(target_user=user)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue