38 lines
1.9 KiB
Java
38 lines
1.9 KiB
Java
package com.discord.utilities.guilds;
|
|
|
|
import android.content.Context;
|
|
import com.discord.app.AppFragment;
|
|
import com.discord.utilities.captcha.CaptchaHelper;
|
|
import com.discord.widgets.guilds.join.GuildJoinHelperKt;
|
|
import com.discord.widgets.guilds.join.JoinArgs;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function2;
|
|
/* compiled from: GuildCaptchaUtils.kt */
|
|
public final class GuildCaptchaUtilsKt$handleHttpException$2 extends o implements Function2<AppFragment, CaptchaHelper.CaptchaPayload, 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(2);
|
|
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, java.lang.Object] */
|
|
@Override // kotlin.jvm.functions.Function2
|
|
public /* bridge */ /* synthetic */ Unit invoke(AppFragment appFragment, CaptchaHelper.CaptchaPayload captchaPayload) {
|
|
invoke(appFragment, captchaPayload);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(AppFragment appFragment, CaptchaHelper.CaptchaPayload captchaPayload) {
|
|
m.checkNotNullParameter(appFragment, "<anonymous parameter 0>");
|
|
m.checkNotNullParameter(captchaPayload, "captchaPayload");
|
|
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(), captchaPayload, this.$args.getOnNext(), 32, null);
|
|
}
|
|
}
|