chore: Add new websocket errors

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-07-17 21:15:05 +03:00
parent c13d0fc59b
commit c517fea6fd
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

View file

@ -37,4 +37,6 @@ ws_errors! {
CannotSendChatRequestToSelf = "You cannot send a chat request to yourself", CannotSendChatRequestToSelf = "You cannot send a chat request to yourself",
CannotRespondToOwnChatRequest = "You cannot respond to your own chat request", CannotRespondToOwnChatRequest = "You cannot respond to your own chat request",
NoChatRequestFromRecipient = "You do not have a chat request from the recipient", NoChatRequestFromRecipient = "You do not have a chat request from the recipient",
RecipientBlacklist = "You cannot send a chat request because you are on the recipient's blacklist.",
AlreadyInRecipientWhitelist = "You are already on the recipient's whitelist and can chat with them."
} }