59 lines
2.6 KiB
Java
59 lines
2.6 KiB
Java
package com.discord.stores;
|
|
|
|
import com.discord.models.message.Message;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import java.util.List;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: StorePinnedMessages.kt */
|
|
public final class StorePinnedMessages$loadPinnedMessages$2 extends o implements Function1<List<? extends Message>, Unit> {
|
|
public final /* synthetic */ long $channelId;
|
|
public final /* synthetic */ StorePinnedMessages this$0;
|
|
|
|
/* compiled from: StorePinnedMessages.kt */
|
|
/* renamed from: com.discord.stores.StorePinnedMessages$loadPinnedMessages$2$1 reason: invalid class name */
|
|
public static final class AnonymousClass1 extends o implements Function0<Unit> {
|
|
public final /* synthetic */ List $it;
|
|
public final /* synthetic */ StorePinnedMessages$loadPinnedMessages$2 this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public AnonymousClass1(StorePinnedMessages$loadPinnedMessages$2 storePinnedMessages$loadPinnedMessages$2, List list) {
|
|
super(0);
|
|
this.this$0 = storePinnedMessages$loadPinnedMessages$2;
|
|
this.$it = list;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo1invoke() {
|
|
StorePinnedMessages$loadPinnedMessages$2 storePinnedMessages$loadPinnedMessages$2 = this.this$0;
|
|
StorePinnedMessages storePinnedMessages = storePinnedMessages$loadPinnedMessages$2.this$0;
|
|
long j = storePinnedMessages$loadPinnedMessages$2.$channelId;
|
|
List list = this.$it;
|
|
m.checkNotNullExpressionValue(list, "it");
|
|
StorePinnedMessages.access$handlePinnedMessagesLoaded(storePinnedMessages, j, list);
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public StorePinnedMessages$loadPinnedMessages$2(StorePinnedMessages storePinnedMessages, long j) {
|
|
super(1);
|
|
this.this$0 = storePinnedMessages;
|
|
this.$channelId = j;
|
|
}
|
|
|
|
/* 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(List<? extends Message> list) {
|
|
invoke((List<Message>) list);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(List<Message> list) {
|
|
this.this$0.getDispatcher().schedule(new AnonymousClass1(this, list));
|
|
}
|
|
}
|