mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
feat(admin,api): restrict community creation on self-hosted (#3055)
This commit is contained in:
1 parent
ab4069ed0e
commit
ca719e7b5e
95 files changed
+508
-13
No files matched your search
@@ -20,6 +20,7 @@ export const ErrorCodeToI18nKey = {
|
||||
[APIErrorCodes.ALREADY_FRIENDS]: 'friends_and_dms.already_friends',
|
||||
[APIErrorCodes.DIRECT_MESSAGES_DISABLED]: 'friends_and_dms.direct_messages_disabled',
|
||||
[APIErrorCodes.BOTS_CANNOT_CREATE_GUILDS]: 'channels_and_guilds.bots_cannot_create_guilds',
|
||||
[APIErrorCodes.GUILD_CREATION_PERMISSION_REQUIRED]: 'channels_and_guilds.guild_creation_permission_required',
|
||||
[APIErrorCodes.SINGLE_COMMUNITY_CANNOT_CREATE_GUILDS]: 'channels_and_guilds.single_community_cannot_create_guilds',
|
||||
[APIErrorCodes.SINGLE_COMMUNITY_CANNOT_DELETE]: 'channels_and_guilds.single_community_cannot_delete',
|
||||
[APIErrorCodes.SINGLE_COMMUNITY_CANNOT_LEAVE]: 'channels_and_guilds.single_community_cannot_leave',
|
||||
|
||||
Reference in new issue
Block a user