34 lines
1.5 KiB
Java
34 lines
1.5 KiB
Java
package com.discord.utilities.rest;
|
|
|
|
import com.discord.app.AppFragment;
|
|
import com.discord.stores.StoreStream;
|
|
import com.discord.utilities.messagesend.MessageResult;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function2;
|
|
/* compiled from: SendUtils.kt */
|
|
public final class SendUtils$handleCaptchaRequired$1 extends o implements Function2<AppFragment, String, Unit> {
|
|
public final /* synthetic */ MessageResult.CaptchaRequired $messageResult;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public SendUtils$handleCaptchaRequired$1(MessageResult.CaptchaRequired captchaRequired) {
|
|
super(2);
|
|
this.$messageResult = captchaRequired;
|
|
}
|
|
|
|
/* 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, "<anonymous parameter 0>");
|
|
m.checkNotNullParameter(str, "captchaToken");
|
|
StoreStream.Companion.getMessages().resendMessageWithCaptcha(this.$messageResult.getChannelId(), this.$messageResult.getNonce(), str);
|
|
}
|
|
}
|