31 lines
1.5 KiB
Java
31 lines
1.5 KiB
Java
|
package com.discord.widgets.chat.input;
|
||
|
|
||
|
import com.discord.widgets.chat.MessageManager;
|
||
|
import d0.z.d.m;
|
||
|
import d0.z.d.o;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
/* compiled from: ChatInputViewModel.kt */
|
||
|
public final class ChatInputViewModel$sendMessage$sendMessage$1$synchronousValidationSucceeded$1 extends o implements Function1<MessageManager.MessageSendResult, Unit> {
|
||
|
public final /* synthetic */ ChatInputViewModel$sendMessage$sendMessage$1 this$0;
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public ChatInputViewModel$sendMessage$sendMessage$1$synchronousValidationSucceeded$1(ChatInputViewModel$sendMessage$sendMessage$1 chatInputViewModel$sendMessage$sendMessage$1) {
|
||
|
super(1);
|
||
|
this.this$0 = chatInputViewModel$sendMessage$sendMessage$1;
|
||
|
}
|
||
|
|
||
|
/* 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(MessageManager.MessageSendResult messageSendResult) {
|
||
|
invoke(messageSendResult);
|
||
|
return Unit.a;
|
||
|
}
|
||
|
|
||
|
public final void invoke(MessageManager.MessageSendResult messageSendResult) {
|
||
|
m.checkNotNullParameter(messageSendResult, "messageSendResult");
|
||
|
this.this$0.$messageSendResultHandler.invoke(messageSendResult.getMessageResult(), messageSendResult.getGuild());
|
||
|
}
|
||
|
}
|