.class final Lcom/discord/stores/StoreMediaSettings$init$2$1; .super Ljava/lang/Object; .source "StoreMediaSettings.kt" # interfaces .implements Lrx/functions/b; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/discord/stores/StoreMediaSettings$init$2;->call(Ljava/lang/Long;)Lrx/Observable; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x18 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lrx/functions/b<", "TT;", "Lrx/Observable<", "+TR;>;>;" } .end annotation # instance fields .field final synthetic $id:Ljava/lang/Long; .field final synthetic this$0:Lcom/discord/stores/StoreMediaSettings$init$2; # direct methods .method constructor (Lcom/discord/stores/StoreMediaSettings$init$2;Ljava/lang/Long;)V .locals 0 iput-object p1, p0, Lcom/discord/stores/StoreMediaSettings$init$2$1;->this$0:Lcom/discord/stores/StoreMediaSettings$init$2; iput-object p2, p0, Lcom/discord/stores/StoreMediaSettings$init$2$1;->$id:Ljava/lang/Long; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public final 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$2$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$2$1;->this$0:Lcom/discord/stores/StoreMediaSettings$init$2; iget-object p1, p1, Lcom/discord/stores/StoreMediaSettings$init$2;->this$0:Lcom/discord/stores/StoreMediaSettings; invoke-virtual {p1}, Lcom/discord/stores/StoreMediaSettings;->getStream()Lcom/discord/stores/StoreStream; move-result-object p1 iget-object p1, p1, Lcom/discord/stores/StoreStream;->permissions:Lcom/discord/stores/StorePermissions; iget-object v0, p0, Lcom/discord/stores/StoreMediaSettings$init$2$1;->$id:Ljava/lang/Long; const-string v1, "id" invoke-static {v0, v1}, Lkotlin/jvm/internal/j;->g(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$2$1$1;->INSTANCE:Lcom/discord/stores/StoreMediaSettings$init$2$1$1; check-cast v0, Lrx/functions/b; invoke-virtual {p1, v0}, Lrx/Observable;->e(Lrx/functions/b;)Lrx/Observable; move-result-object p1 return-object p1 :cond_1 :goto_0 sget-object p1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean; invoke-static {p1}, Lrx/Observable;->bx(Ljava/lang/Object;)Lrx/Observable; move-result-object p1 return-object p1 .end method