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

33 lines
1.3 KiB
Java
Raw Normal View History

2021-06-27 20:44:35 +00:00
package com.discord.stores;
2021-07-03 23:36:06 +00:00
import com.discord.models.message.Message;
2021-06-27 20:44:35 +00:00
import com.discord.stores.StorePinnedMessages;
import d0.t.n;
import d0.z.d.o;
import java.util.List;
import kotlin.jvm.functions.Function0;
/* compiled from: StorePinnedMessages.kt */
2021-06-27 20:53:42 +00:00
public final class StorePinnedMessages$observePinnedMessage$1 extends o implements Function0<Message> {
2021-06-27 20:44:35 +00:00
public final /* synthetic */ long $channelId;
public final /* synthetic */ long $messageId;
public final /* synthetic */ StorePinnedMessages this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StorePinnedMessages$observePinnedMessage$1(StorePinnedMessages storePinnedMessages, long j, long j2) {
super(0);
this.this$0 = storePinnedMessages;
this.$channelId = j;
this.$messageId = j2;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
2021-06-27 20:53:42 +00:00
public final Message mo1invoke() {
2021-06-27 20:44:35 +00:00
List list = (List) StorePinnedMessages.access$getPinnedMessages$p(this.this$0).get(Long.valueOf(this.$channelId));
if (list == null) {
list = n.emptyList();
}
return StorePinnedMessages.Companion.access$getMessage(StorePinnedMessages.Companion, list, this.$messageId);
}
}