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

28 lines
1.2 KiB
Java
Raw Normal View History

2021-06-27 20:44:35 +00:00
package com.discord.stores;
import com.discord.models.domain.ModelMessage;
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 ModelMessage>> {
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.domain.ModelMessage>' to match base method */
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final List<? extends ModelMessage> mo1invoke() {
List<? extends ModelMessage> list = (List) StorePinnedMessages.access$getPinnedMessages$p(this.this$0).get(Long.valueOf(this.$channelId));
return list != null ? list : n.emptyList();
}
}