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

34 lines
1.5 KiB
Java
Raw Normal View History

2021-10-25 07:24:42 +00:00
package com.discord.utilities.guilds;
import com.discord.app.AppFragment;
import com.discord.widgets.guilds.invite.InviteJoinHelper;
import com.discord.widgets.guilds.join.InviteArgs;
2021-11-01 07:19:03 +00:00
import d0.z.d.m;
import d0.z.d.o;
2021-10-25 07:24:42 +00:00
import kotlin.Unit;
2021-12-17 22:01:24 +00:00
import kotlin.jvm.functions.Function2;
2021-10-25 07:24:42 +00:00
/* compiled from: GuildCaptchaUtils.kt */
2022-02-12 09:10:41 +00:00
public final class GuildCaptchaUtilsKt$handleHttpException$1 extends o implements Function2<AppFragment, String, Unit> {
2021-10-25 07:24:42 +00:00
public final /* synthetic */ InviteArgs $args;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
2021-12-17 22:01:24 +00:00
public GuildCaptchaUtilsKt$handleHttpException$1(InviteArgs inviteArgs) {
super(2);
2021-10-25 07:24:42 +00:00
this.$args = inviteArgs;
}
/* Return type fixed from 'java.lang.Object' to match base method */
2021-12-17 22:01:24 +00:00
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
@Override // kotlin.jvm.functions.Function2
2022-02-12 09:10:41 +00:00
public /* bridge */ /* synthetic */ Unit invoke(AppFragment appFragment, String str) {
invoke(appFragment, str);
2021-10-25 07:24:42 +00:00
return Unit.a;
}
2022-02-12 09:10:41 +00:00
public final void invoke(AppFragment appFragment, String str) {
2021-12-17 22:01:24 +00:00
m.checkNotNullParameter(appFragment, "newFragment");
2022-02-12 09:10:41 +00:00
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);
2021-10-25 07:24:42 +00:00
}
}