changed message shown to muted users (after discussion with mods)

Adjusted apidocs comment to match.
Corrected the error type for that comment.
This commit is contained in:
Alys
2018-04-25 20:40:21 +10:00
parent 95865f5ec8
commit 59a22805b9
2 changed files with 2 additions and 2 deletions

View File

@@ -255,7 +255,7 @@
"userRequestsApproval": "<%= userName %> requests approval",
"userCountRequestsApproval": "<%= userCount %> request approval",
"youAreRequestingApproval": "You are requesting approval",
"chatPrivilegesRevoked": "Your chat privileges have been revoked.",
"chatPrivilegesRevoked": "You cannot do that because your chat privileges have been revoked.",
"cannotCreatePublicGuildWhenMuted": "You cannot create a public guild because your chat privileges have been revoked.",
"cannotInviteWhenMuted": "You cannot invite anyone to a guild or party because your chat privileges have been revoked.",
"newChatMessagePlainNotification": "New message in <%= groupName %> by <%= authorName %>. Click here to open the chat page!",

View File

@@ -95,7 +95,7 @@ function getBannedWordsFromText (message) {
*
* @apiUse GroupNotFound
* @apiUse GroupIdRequired
* @apiError (400) {NotFound} ChatPriviledgesRevoked Your chat privileges have been revoked
* @apiError (400) {NotAuthorized} chatPriviledgesRevoked You cannot do that because your chat privileges have been revoked.
*/
api.postChat = {
method: 'POST',