mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-17 15:31:19 +01: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