mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
fix(guild): treat very high as high without phone verification (#3095)
This commit is contained in:
@@ -113,6 +113,9 @@ export const InstanceFeaturesSchema = z
|
||||
self_hosted: z.boolean().describe('Whether this is a self-hosted instance'),
|
||||
presigned_attachment_uploads: z.boolean().describe('Whether clients can request presigned attachment upload URLs'),
|
||||
emails_enabled: z.boolean().describe('Whether the instance sends emails (verification, password reset, etc.)'),
|
||||
phone_verification_enabled: z
|
||||
.boolean()
|
||||
.describe('Whether users can verify a phone number, so the very high guild verification level applies'),
|
||||
})
|
||||
.describe('Feature flags for this instance');
|
||||
export type InstanceFeatures = z.infer<typeof InstanceFeaturesSchema>;
|
||||
|
||||
Reference in New Issue
Block a user