34 lines
1.5 KiB
Java
34 lines
1.5 KiB
Java
package com.discord.utilities.guilds;
|
|
|
|
import com.discord.app.AppFragment;
|
|
import com.discord.widgets.guilds.invite.InviteJoinHelper;
|
|
import com.discord.widgets.guilds.join.InviteArgs;
|
|
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$1 extends o implements Function2<AppFragment, String, Unit> {
|
|
public final /* synthetic */ InviteArgs $args;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public GuildCaptchaUtilsKt$handleHttpException$1(InviteArgs inviteArgs) {
|
|
super(2);
|
|
this.$args = inviteArgs;
|
|
}
|
|
|
|
/* 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, String str) {
|
|
invoke(appFragment, str);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(AppFragment appFragment, String str) {
|
|
m.checkNotNullParameter(appFragment, "newFragment");
|
|
m.checkNotNullParameter(str, "captchaToken");
|
|
InviteJoinHelper.INSTANCE.joinViaInvite(this.$args.getInvite(), this.$args.getJavaClass(), appFragment, this.$args.getLocation(), this.$args.getOnInvitePostError(), this.$args.getOnInvitePostSuccess(), this.$args.getOnInviteFlowFinished(), str);
|
|
}
|
|
}
|