Show a specific error for hs_disabled
This commit is contained in:
@@ -26,6 +26,7 @@ const TOAST_KEY = "serverlimit";
|
||||
export const showToast = (limitType: string, adminContact?: string, syncError?: boolean) => {
|
||||
const errorText = messageForResourceLimitError(limitType, adminContact, {
|
||||
'monthly_active_user': _td("Your homeserver has exceeded its user limit."),
|
||||
'hs_blocked': _td("This homeserver has been blocked by it's administrator."),
|
||||
'': _td("Your homeserver has exceeded one of its resource limits."),
|
||||
});
|
||||
const contactText = messageForResourceLimitError(limitType, adminContact, {
|
||||
|
||||
Reference in New Issue
Block a user