.class public final Lcom/discord/stores/StoreMediaSettings$init$1$1; .super Ljava/lang/Object; .source "StoreMediaSettings.kt" # interfaces .implements Lt0/k/b; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/discord/stores/StoreMediaSettings$init$1;->call(Ljava/lang/Long;)Lrx/Observable; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lt0/k/b<", "Lcom/discord/models/domain/ModelChannel;", "Lrx/Observable<", "+", "Ljava/lang/Boolean;", ">;>;" } .end annotation # instance fields .field public final synthetic $id:Ljava/lang/Long; .field public final synthetic this$0:Lcom/discord/stores/StoreMediaSettings$init$1; # direct methods .method public constructor (Lcom/discord/stores/StoreMediaSettings$init$1;Ljava/lang/Long;)V .locals 0 iput-object p1, p0, Lcom/discord/stores/StoreMediaSettings$init$1$1;->this$0:Lcom/discord/stores/StoreMediaSettings$init$1; iput-object p2, p0, Lcom/discord/stores/StoreMediaSettings$init$1$1;->$id:Ljava/lang/Long; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object; .locals 0 check-cast p1, Lcom/discord/models/domain/ModelChannel; invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMediaSettings$init$1$1;->call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable; move-result-object p1 return-object p1 .end method .method public final call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/discord/models/domain/ModelChannel;", ")", "Lrx/Observable<", "+", "Ljava/lang/Boolean;", ">;" } .end annotation if-eqz p1, :cond_1 invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->isPrivate()Z move-result p1 if-eqz p1, :cond_0 goto :goto_0 :cond_0 iget-object p1, p0, Lcom/discord/stores/StoreMediaSettings$init$1$1;->this$0:Lcom/discord/stores/StoreMediaSettings$init$1; iget-object p1, p1, Lcom/discord/stores/StoreMediaSettings$init$1;->this$0:Lcom/discord/stores/StoreMediaSettings; invoke-virtual {p1}, Lcom/discord/stores/StoreMediaSettings;->getStream()Lcom/discord/stores/StoreStream; move-result-object p1 invoke-virtual {p1}, Lcom/discord/stores/StoreStream;->getPermissions$app_productionDiscordExternalRelease()Lcom/discord/stores/StorePermissions; move-result-object p1 iget-object v0, p0, Lcom/discord/stores/StoreMediaSettings$init$1$1;->$id:Ljava/lang/Long; const-string v1, "id" invoke-static {v0, v1}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {v0}, Ljava/lang/Long;->longValue()J move-result-wide v0 invoke-virtual {p1, v0, v1}, Lcom/discord/stores/StorePermissions;->getForChannel(J)Lrx/Observable; move-result-object p1 sget-object v0, Lcom/discord/stores/StoreMediaSettings$init$1$1$1;->INSTANCE:Lcom/discord/stores/StoreMediaSettings$init$1$1$1; invoke-virtual {p1, v0}, Lrx/Observable;->E(Lt0/k/b;)Lrx/Observable; move-result-object p1 goto :goto_1 :cond_1 :goto_0 sget-object p1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean; new-instance v0, Lt0/l/e/j; invoke-direct {v0, p1}, Lt0/l/e/j;->(Ljava/lang/Object;)V move-object p1, v0 :goto_1 return-object p1 .end method