discord-jadx/app/src/main/java/c/a/z/o.java

34 lines
1.2 KiB
Java

package c.a.z;
import com.discord.api.channel.Channel;
import com.discord.stores.StoreStream;
import com.discord.stores.StoreVoiceParticipants;
import d0.t.n;
import d0.z.d.m;
import j0.k.b;
import j0.l.e.j;
import java.util.List;
import rx.Observable;
/* compiled from: OverlayMenuBubbleDialog.kt */
public final class o<T, R> implements b<Channel, Observable<? extends List<? extends StoreVoiceParticipants.VoiceUser>>> {
public final /* synthetic */ Long i;
public o(Long l) {
this.i = l;
}
/* 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 // j0.k.b
public Observable<? extends List<? extends StoreVoiceParticipants.VoiceUser>> call(Channel channel) {
Channel channel2 = channel;
if (channel2 == null) {
return new j(n.emptyList());
}
StoreVoiceParticipants voiceParticipants = StoreStream.Companion.getVoiceParticipants();
Long l = this.i;
m.checkNotNullExpressionValue(l, "channelId");
return voiceParticipants.get(l.longValue()).F(new n(channel2)).r();
}
}