discord-jadx/app/src/main/java/com/discord/utilities/guilds/GuildCaptchaUtilsKt$handleH...

35 lines
1.5 KiB
Java

package com.discord.utilities.guilds;
import android.content.Context;
import c0.z.d.m;
import c0.z.d.o;
import com.discord.widgets.guilds.join.GuildJoinHelperKt;
import com.discord.widgets.guilds.join.JoinArgs;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: GuildCaptchaUtils.kt */
public final class GuildCaptchaUtilsKt$handleHttpException$2 extends o implements Function1<String, Unit> {
public final /* synthetic */ JoinArgs $args;
public final /* synthetic */ Context $context;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public GuildCaptchaUtilsKt$handleHttpException$2(Context context, JoinArgs joinArgs) {
super(1);
this.$context = context;
this.$args = joinArgs;
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Unit invoke(String str) {
invoke(str);
return Unit.a;
}
public final void invoke(String str) {
m.checkNotNullParameter(str, "captchaToken");
GuildJoinHelperKt.joinGuild$default(this.$context, this.$args.getGuildId(), this.$args.isLurker(), this.$args.getSessionId(), this.$args.getDirectoryChannelId(), null, this.$args.getErrorClass(), this.$args.getSubscriptionHandler(), this.$args.getErrorHandler(), str, this.$args.getOnNext(), 32, null);
}
}