discord-jadx/app/src/main/java/com/discord/stores/StoreThreadsActiveJoined$ob...

32 lines
1.6 KiB
Java

package com.discord.stores;
import com.discord.api.channel.Channel;
import com.discord.stores.StoreThreadsActiveJoined;
import d0.t.g0;
import d0.z.d.o;
import java.util.LinkedHashMap;
import java.util.Map;
import kotlin.jvm.functions.Function0;
/* compiled from: StoreThreadsActiveJoined.kt */
public final class StoreThreadsActiveJoined$observeAllActiveJoinedThreadsChannelsById$1 extends o implements Function0<Map<Long, ? extends Channel>> {
public final /* synthetic */ StoreThreadsActiveJoined this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreThreadsActiveJoined$observeAllActiveJoinedThreadsChannelsById$1(StoreThreadsActiveJoined storeThreadsActiveJoined) {
super(0);
this.this$0 = storeThreadsActiveJoined;
}
/* Return type fixed from 'java.util.Map<java.lang.Long, com.discord.api.channel.Channel>' to match base method */
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final Map<Long, ? extends Channel> mo1invoke() {
Map access$getActiveJoinedThreadsByThreadIdSnapshot$p = StoreThreadsActiveJoined.access$getActiveJoinedThreadsByThreadIdSnapshot$p(this.this$0);
LinkedHashMap linkedHashMap = new LinkedHashMap(g0.mapCapacity(access$getActiveJoinedThreadsByThreadIdSnapshot$p.size()));
for (Map.Entry entry : access$getActiveJoinedThreadsByThreadIdSnapshot$p.entrySet()) {
linkedHashMap.put(entry.getKey(), ((StoreThreadsActiveJoined.ActiveJoinedThread) entry.getValue()).getChannel());
}
return linkedHashMap;
}
}