discord-jadx/app/src/main/java/com/discord/stores/StoreMessages$sendMessage$7...

56 lines
2.7 KiB
Java

package com.discord.stores;
import com.discord.utilities.rest.SendUtils;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreMessages.kt */
public final class StoreMessages$sendMessage$7$request$2 extends o implements Function1<SendUtils.SendPayload.Preprocessing, Unit> {
public final /* synthetic */ StoreMessages$sendMessage$7 this$0;
/* compiled from: StoreMessages.kt */
/* renamed from: com.discord.stores.StoreMessages$sendMessage$7$request$2$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Unit> {
public final /* synthetic */ String $displayName;
public final /* synthetic */ String $mimeType;
public final /* synthetic */ int $numFiles;
public final /* synthetic */ StoreMessages$sendMessage$7$request$2 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(StoreMessages$sendMessage$7$request$2 storeMessages$sendMessage$7$request$2, int i, String str, String str2) {
super(0);
this.this$0 = storeMessages$sendMessage$7$request$2;
this.$numFiles = i;
this.$displayName = str;
this.$mimeType = str2;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
StoreMessages.access$getStream$p(this.this$0.this$0.this$0).getMessageUploads$app_productionBetaRelease().onPreprocessing(this.this$0.this$0.$applicationCommandLocalSendData.getNonceString(), this.$numFiles, this.$displayName, this.$mimeType);
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreMessages$sendMessage$7$request$2(StoreMessages$sendMessage$7 storeMessages$sendMessage$7) {
super(1);
this.this$0 = storeMessages$sendMessage$7;
}
/* 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(SendUtils.SendPayload.Preprocessing preprocessing) {
invoke(preprocessing);
return Unit.a;
}
public final void invoke(SendUtils.SendPayload.Preprocessing preprocessing) {
m.checkNotNullParameter(preprocessing, "<name for destructuring parameter 0>");
StoreMessages.access$getDispatcher$p(this.this$0.this$0).schedule(new AnonymousClass1(this, preprocessing.component1(), preprocessing.component2(), preprocessing.component3()));
}
}