.class public final Lcom/discord/stores/StoreVoiceChannelSelected$set$1; .super Lc0/n/c/k; .source "StoreVoiceChannelSelected.kt" # interfaces .implements Lkotlin/jvm/functions/Function0; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/discord/stores/StoreVoiceChannelSelected;->set(J)Lrx/Observable; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lc0/n/c/k;", "Lkotlin/jvm/functions/Function0<", "Lkotlin/Unit;", ">;" } .end annotation # instance fields .field public final synthetic $channelId:J .field public final synthetic $resultSubject:Lrx/subjects/PublishSubject; .field public final synthetic this$0:Lcom/discord/stores/StoreVoiceChannelSelected; # direct methods .method public constructor (Lcom/discord/stores/StoreVoiceChannelSelected;JLrx/subjects/PublishSubject;)V .locals 0 iput-object p1, p0, Lcom/discord/stores/StoreVoiceChannelSelected$set$1;->this$0:Lcom/discord/stores/StoreVoiceChannelSelected; iput-wide p2, p0, Lcom/discord/stores/StoreVoiceChannelSelected$set$1;->$channelId:J iput-object p4, p0, Lcom/discord/stores/StoreVoiceChannelSelected$set$1;->$resultSubject:Lrx/subjects/PublishSubject; const/4 p1, 0x0 invoke-direct {p0, p1}, Lc0/n/c/k;->(I)V return-void .end method # virtual methods .method public bridge synthetic invoke()Ljava/lang/Object; .locals 1 invoke-virtual {p0}, Lcom/discord/stores/StoreVoiceChannelSelected$set$1;->invoke()V sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit; return-object v0 .end method .method public final invoke()V .locals 6 iget-object v0, p0, Lcom/discord/stores/StoreVoiceChannelSelected$set$1;->this$0:Lcom/discord/stores/StoreVoiceChannelSelected; iget-wide v1, p0, Lcom/discord/stores/StoreVoiceChannelSelected$set$1;->$channelId:J const/4 v3, 0x0 const/4 v4, 0x2 const/4 v5, 0x0 invoke-static/range {v0 .. v5}, Lcom/discord/stores/StoreVoiceChannelSelected;->selectVoiceChannel$default(Lcom/discord/stores/StoreVoiceChannelSelected;JZILjava/lang/Object;)Lcom/discord/stores/StoreVoiceChannelSelected$JoinVoiceChannelResult; move-result-object v0 iget-object v1, p0, Lcom/discord/stores/StoreVoiceChannelSelected$set$1;->this$0:Lcom/discord/stores/StoreVoiceChannelSelected; invoke-static {v1}, Lcom/discord/stores/StoreVoiceChannelSelected;->access$getStream$p(Lcom/discord/stores/StoreVoiceChannelSelected;)Lcom/discord/stores/StoreStream; move-result-object v1 invoke-virtual {v1}, Lcom/discord/stores/StoreStream;->getChannels$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreChannels; move-result-object v1 iget-wide v2, p0, Lcom/discord/stores/StoreVoiceChannelSelected$set$1;->$channelId:J invoke-virtual {v1, v2, v3}, Lcom/discord/stores/StoreChannels;->getChannel$app_productionDiscordExternalRelease(J)Lcom/discord/models/domain/ModelChannel; move-result-object v1 if-eqz v1, :cond_1 invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->isPrivate()Z move-result v2 if-eqz v2, :cond_0 goto :goto_0 :cond_0 const/4 v1, 0x0 :goto_0 if-eqz v1, :cond_1 sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion; invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getMediaSettings()Lcom/discord/stores/StoreMediaSettings; move-result-object v1 const/4 v2, 0x0 invoke-virtual {v1, v2}, Lcom/discord/stores/StoreMediaSettings;->setSelfDeafen(Z)V :cond_1 iget-object v1, p0, Lcom/discord/stores/StoreVoiceChannelSelected$set$1;->$resultSubject:Lrx/subjects/PublishSubject; iget-object v1, v1, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b; invoke-virtual {v1, v0}, Lrx/subjects/PublishSubject$b;->onNext(Ljava/lang/Object;)V iget-object v0, p0, Lcom/discord/stores/StoreVoiceChannelSelected$set$1;->$resultSubject:Lrx/subjects/PublishSubject; iget-object v0, v0, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b; invoke-virtual {v0}, Lrx/subjects/PublishSubject$b;->onCompleted()V return-void .end method