49 lines
2.1 KiB
Java
49 lines
2.1 KiB
Java
package com.discord.widgets.guilds.join;
|
|
|
|
import android.content.Context;
|
|
import c0.z.d.m;
|
|
import c0.z.d.o;
|
|
import com.discord.utilities.error.Error;
|
|
import com.discord.utilities.guilds.GuildCaptchaUtilsKt;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: GuildJoinHelper.kt */
|
|
public final class GuildJoinHelperKt$joinGuild$1 extends o implements Function1<Error, Unit> {
|
|
public final /* synthetic */ Context $context;
|
|
public final /* synthetic */ Long $directoryChannelId;
|
|
public final /* synthetic */ Class $errorClass;
|
|
public final /* synthetic */ Function1 $errorHandler;
|
|
public final /* synthetic */ long $guildId;
|
|
public final /* synthetic */ boolean $isLurker;
|
|
public final /* synthetic */ Function1 $onNext;
|
|
public final /* synthetic */ String $sessionId;
|
|
public final /* synthetic */ Function1 $subscriptionHandler;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public GuildJoinHelperKt$joinGuild$1(Context context, long j, boolean z2, String str, Long l, Class cls, Function1 function1, Function1 function12, Function1 function13) {
|
|
super(1);
|
|
this.$context = context;
|
|
this.$guildId = j;
|
|
this.$isLurker = z2;
|
|
this.$sessionId = str;
|
|
this.$directoryChannelId = l;
|
|
this.$errorClass = cls;
|
|
this.$subscriptionHandler = function1;
|
|
this.$errorHandler = function12;
|
|
this.$onNext = function13;
|
|
}
|
|
|
|
/* 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(Error error) {
|
|
invoke(error);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(Error error) {
|
|
m.checkNotNullParameter(error, "it");
|
|
GuildCaptchaUtilsKt.handleHttpException(error, this.$context, new JoinArgs(this.$guildId, this.$isLurker, this.$sessionId, this.$directoryChannelId, this.$errorClass, this.$subscriptionHandler, this.$errorHandler, this.$onNext));
|
|
}
|
|
}
|