apkfuckery/com.discord/smali/com/discord/stores/StoreVoiceParticipants$getO...

129 lines
3.7 KiB
Smali

.class public final Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1;
.super Ljava/lang/Object;
.source "StoreVoiceParticipants.kt"
# interfaces
.implements Ll0/k/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreVoiceParticipants;->getOtherUsers(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ll0/k/b<",
"Ljava/lang/Long;",
"Lrx/Observable<",
"+",
"Ljava/util/Collection<",
"+",
"Lcom/discord/models/domain/ModelUser;",
">;>;>;"
}
.end annotation
# instance fields
.field public final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
# direct methods
.method public constructor <init>(Lcom/discord/models/domain/ModelChannel;)V
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Long;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1;->call(Ljava/lang/Long;)Lrx/Observable;
move-result-object p1
return-object p1
.end method
.method public final call(Ljava/lang/Long;)Lrx/Observable;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Long;",
")",
"Lrx/Observable<",
"+",
"Ljava/util/Collection<",
"Lcom/discord/models/domain/ModelUser;",
">;>;"
}
.end annotation
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getGuilds()Lcom/discord/stores/StoreGuilds;
move-result-object v0
iget-object v1, p0, Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1;->$channel:Lcom/discord/models/domain/ModelChannel;
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
move-result-object v1
const-string v2, "channel.guildId"
invoke-static {v1, v2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
move-result-wide v1
invoke-virtual {v0, v1, v2}, Lcom/discord/stores/StoreGuilds;->observeComputed(J)Lrx/Observable;
move-result-object v0
sget-object v1, Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1$1;->INSTANCE:Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1$1;
invoke-virtual {v0, v1}, Lrx/Observable;->E(Ll0/k/b;)Lrx/Observable;
move-result-object v0
new-instance v1, Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1$2;
invoke-direct {v1, p1}, Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1$2;-><init>(Ljava/lang/Long;)V
invoke-virtual {v0, v1}, Lrx/Observable;->E(Ll0/k/b;)Lrx/Observable;
move-result-object p1
sget-object v0, Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1$3;->INSTANCE:Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1$3;
invoke-virtual {p1, v0}, Lrx/Observable;->V(Ll0/k/b;)Lrx/Observable;
move-result-object p1
return-object p1
.end method