mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 05:55:34 +09:00
feat(api): defer registration phone verification to community joins (#1709)
This commit is contained in:
1 parent
7e1ca9ed6a
commit
d7b2e67c35
39 files changed
+1000
-32
No files matched your search
@@ -174,6 +174,12 @@ function showGuildInviteAcceptFailure(
|
||||
responseErr: HttpError | null,
|
||||
): void {
|
||||
const isRaidDetected = guildInviteFeatures(invite).includes(GuildFeatures.RAID_DETECTED);
|
||||
if (
|
||||
errorCode === APIErrorCodes.ACCOUNT_SUSPICIOUS_ACTIVITY &&
|
||||
(Users.currentUser?.requiredActions?.length ?? 0) > 0
|
||||
) {
|
||||
return;
|
||||
}
|
||||
if (errorCode === APIErrorCodes.INVITES_DISABLED) {
|
||||
ModalCommands.push(
|
||||
modal(() => (
|
||||
|
||||
Reference in new issue
Block a user