mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
"You are not..."
This commit is contained in:
parent
e6c5e3f28a
commit
e12ec335a5
@ -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 New Issue
Block a user