discord-jadx/app/src/main/java/com/discord/widgets/user/search/WidgetGlobalSearchModel$Com...

34 lines
1.4 KiB
Java

package com.discord.widgets.user.search;
import com.discord.models.member.GuildMember;
import com.discord.widgets.user.search.WidgetGlobalSearchModel;
import d0.z.d.o;
import java.util.Map;
import java.util.Set;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetGlobalSearchModel.kt */
public final class WidgetGlobalSearchModel$Companion$getDefaultUserSearch$smallGuildUserIds$1 extends o implements Function1<Long, Set<? extends Long>> {
public final /* synthetic */ WidgetGlobalSearchModel.UsersContext $usersContext;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetGlobalSearchModel$Companion$getDefaultUserSearch$smallGuildUserIds$1(WidgetGlobalSearchModel.UsersContext usersContext) {
super(1);
this.$usersContext = usersContext;
}
/* 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 */ Set<? extends Long> invoke(Long l) {
return invoke(l.longValue());
}
public final Set<Long> invoke(long j) {
Map<Long, GuildMember> map = this.$usersContext.getMembers().get(Long.valueOf(j));
if (map != null) {
return map.keySet();
}
return null;
}
}