discord-jadx/app/src/main/java/com/discord/stores/StoreMessageReactions$fetch...

58 lines
2.7 KiB
Java

package com.discord.stores;
import com.discord.api.message.reaction.MessageReactionEmoji;
import com.discord.utilities.error.Error;
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: StoreMessageReactions.kt */
public final class StoreMessageReactions$fetchReactions$2 extends o implements Function1<Error, Unit> {
public final /* synthetic */ long $channelId;
public final /* synthetic */ MessageReactionEmoji $emoji;
public final /* synthetic */ long $messageId;
public final /* synthetic */ StoreMessageReactions this$0;
/* compiled from: StoreMessageReactions.kt */
/* renamed from: com.discord.stores.StoreMessageReactions$fetchReactions$2$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Unit> {
public final /* synthetic */ StoreMessageReactions$fetchReactions$2 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(StoreMessageReactions$fetchReactions$2 storeMessageReactions$fetchReactions$2) {
super(0);
this.this$0 = storeMessageReactions$fetchReactions$2;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
StoreMessageReactions$fetchReactions$2 storeMessageReactions$fetchReactions$2 = this.this$0;
StoreMessageReactions.access$handleLoadReactionUsersFailure(storeMessageReactions$fetchReactions$2.this$0, storeMessageReactions$fetchReactions$2.$channelId, storeMessageReactions$fetchReactions$2.$messageId, storeMessageReactions$fetchReactions$2.$emoji);
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreMessageReactions$fetchReactions$2(StoreMessageReactions storeMessageReactions, long j, long j2, MessageReactionEmoji messageReactionEmoji) {
super(1);
this.this$0 = storeMessageReactions;
this.$channelId = j;
this.$messageId = j2;
this.$emoji = messageReactionEmoji;
}
/* 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");
StoreMessageReactions.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this));
}
}