15 lines
895 B
Java
15 lines
895 B
Java
|
package com.discord.widgets.servers;
|
||
|
|
||
|
import com.discord.widgets.servers.WidgetServerSettingsEmojis;
|
||
|
import j0.k.b;
|
||
|
import j0.l.e.j;
|
||
|
import rx.Observable;
|
||
|
/* compiled from: WidgetServerSettingsEmojis.kt */
|
||
|
public final class WidgetServerSettingsEmojis$Model$Companion$get$1<T, R> implements b<WidgetServerSettingsEmojis.Model.Permission, Observable<? extends WidgetServerSettingsEmojis.Model>> {
|
||
|
public static final WidgetServerSettingsEmojis$Model$Companion$get$1 INSTANCE = new WidgetServerSettingsEmojis$Model$Companion$get$1();
|
||
|
|
||
|
public final Observable<? extends WidgetServerSettingsEmojis.Model> call(WidgetServerSettingsEmojis.Model.Permission permission) {
|
||
|
return (permission == null || !permission.getCanManage()) ? new j(null) : WidgetServerSettingsEmojis.Model.Companion.access$getGuildEmojis(WidgetServerSettingsEmojis.Model.Companion, permission.getGuild());
|
||
|
}
|
||
|
}
|