33 lines
1.2 KiB
Java
33 lines
1.2 KiB
Java
package c.a.y;
|
|
|
|
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 p<T, R> implements b<Channel, Observable<? extends List<? extends StoreVoiceParticipants.VoiceUser>>> {
|
|
public final /* synthetic */ Long i;
|
|
|
|
public p(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 o(channel2)).r();
|
|
}
|
|
}
|