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

22 lines
763 B
Java

package c.a.z.a.a;
import com.discord.api.channel.Channel;
import com.discord.stores.StoreStream;
import i0.k.b;
import i0.l.e.j;
import rx.Observable;
/* compiled from: lambda */
public final /* synthetic */ class q implements b {
public final /* synthetic */ long i;
public /* synthetic */ q(long j) {
this.i = j;
}
@Override // i0.k.b
public final Object call(Object obj) {
Channel channel = (Channel) obj;
return channel == null ? new j(null) : Observable.h(StoreStream.getGuilds().observeGuild(channel.f()), StoreStream.getUsers().observeMe(), StoreStream.getPermissions().observePermissionsForChannel(this.i), StoreStream.getGuilds().observeSortedRoles(channel.f()).Y(new s(channel)), new r(channel));
}
}