20 lines
643 B
Java
20 lines
643 B
Java
package com.discord.stores;
|
|
|
|
import com.discord.api.channel.Channel;
|
|
import com.discord.models.guild.Guild;
|
|
import j0.k.b;
|
|
import j0.l.e.j;
|
|
import rx.Observable;
|
|
/* compiled from: StoreGuilds.kt */
|
|
public final class StoreGuilds$observeFromChannelId$1<T, R> implements b<Channel, Observable<? extends Guild>> {
|
|
public final /* synthetic */ StoreGuilds this$0;
|
|
|
|
public StoreGuilds$observeFromChannelId$1(StoreGuilds storeGuilds) {
|
|
this.this$0 = storeGuilds;
|
|
}
|
|
|
|
public final Observable<? extends Guild> call(Channel channel) {
|
|
return channel != null ? this.this$0.observeGuild(channel.f()) : new j(null);
|
|
}
|
|
}
|