discord-jadx/app/src/main/java/com/discord/stores/StorePinnedMessages$observe...

28 lines
1.1 KiB
Java

package com.discord.stores;
import com.discord.models.message.Message;
import d0.t.n;
import d0.z.d.o;
import java.util.List;
import kotlin.jvm.functions.Function0;
/* compiled from: StorePinnedMessages.kt */
public final class StorePinnedMessages$observeForChannel$1 extends o implements Function0<List<? extends Message>> {
public final /* synthetic */ long $channelId;
public final /* synthetic */ StorePinnedMessages this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StorePinnedMessages$observeForChannel$1(StorePinnedMessages storePinnedMessages, long j) {
super(0);
this.this$0 = storePinnedMessages;
this.$channelId = j;
}
/* Return type fixed from 'java.util.List<com.discord.models.message.Message>' to match base method */
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final List<? extends Message> mo1invoke() {
List<? extends Message> list = (List) StorePinnedMessages.access$getPinnedMessages$p(this.this$0).get(Long.valueOf(this.$channelId));
return list != null ? list : n.emptyList();
}
}