Show a specific error for hs_disabled

This commit is contained in:
Will Hunt 2021-01-27 11:39:57 +00:00
parent 048a3f6ec8
commit 5de92b68d9
6 changed files with 11 additions and 1 deletions

View file

@ -62,6 +62,7 @@ export function messageForSyncError(err) {
err.data.admin_contact,
{
'monthly_active_user': _td("This homeserver has hit its Monthly Active User limit."),
'hs_blocked': _td("This homeserver has been blocked by its administrator."),
'': _td("This homeserver has exceeded one of its resource limits."),
},
);