2019-02-17 02:24:41 +00:00
|
|
|
.class final Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion$get$1;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "WidgetChatListActions.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lrx/functions/b;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion;->get(JJLjava/lang/CharSequence;I)Lrx/Observable;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x18
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"R:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Lrx/functions/b<",
|
2019-04-11 23:08:29 +00:00
|
|
|
"TT;",
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"+TR;>;>;"
|
2019-02-17 02:24:41 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2019-04-11 23:08:29 +00:00
|
|
|
# instance fields
|
|
|
|
.field final synthetic $channelId:J
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-04-11 23:08:29 +00:00
|
|
|
.field final synthetic $messageContent:Ljava/lang/CharSequence;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-04-11 23:08:29 +00:00
|
|
|
.field final synthetic $messageObservable:Lrx/Observable;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-04-11 23:08:29 +00:00
|
|
|
.field final synthetic $type:I
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
|
2019-04-11 23:08:29 +00:00
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lrx/Observable;JLjava/lang/CharSequence;I)V
|
|
|
|
.locals 0
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-04-11 23:08:29 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion$get$1;->$messageObservable:Lrx/Observable;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-04-11 23:08:29 +00:00
|
|
|
iput-wide p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion$get$1;->$channelId:J
|
|
|
|
|
|
|
|
iput-object p4, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion$get$1;->$messageContent:Ljava/lang/CharSequence;
|
|
|
|
|
|
|
|
iput p5, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion$get$1;->$type:I
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-04-11 23:08:29 +00:00
|
|
|
.method public final bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-02-17 02:24:41 +00:00
|
|
|
.locals 0
|
|
|
|
|
2019-04-11 23:08:29 +00:00
|
|
|
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-04-11 23:08:29 +00:00
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion$get$1;->call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
2019-04-11 23:08:29 +00:00
|
|
|
.end method
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-04-11 23:08:29 +00:00
|
|
|
.method public final call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
|
|
|
.locals 12
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
|
|
")",
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"Lcom/discord/widgets/chat/list/WidgetChatListActions$Model;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-04-11 23:08:29 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion$get$1;->$messageObservable:Lrx/Observable;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-04-11 23:08:29 +00:00
|
|
|
invoke-static {}, Lcom/discord/stores/StoreStream;->getPermissions()Lcom/discord/stores/StorePermissions;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
iget-wide v2, p0, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion$get$1;->$channelId:J
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2, v3}, Lcom/discord/stores/StorePermissions;->getForChannel(J)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-static {}, Lcom/discord/stores/StoreStream;->getUsers()Lcom/discord/stores/StoreUser;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string v3, "StoreStream\n .getUsers()"
|
|
|
|
|
|
|
|
invoke-static {v2, v3}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreUser;->getMe()Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-static {}, Lcom/discord/stores/StoreStream;->getGuilds()Lcom/discord/stores/StoreGuilds;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const-string v4, "channel"
|
|
|
|
|
|
|
|
invoke-static {p1, v4}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()J
|
|
|
|
|
|
|
|
move-result-wide v4
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4, v5}, Lcom/discord/stores/StoreGuilds;->get(J)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
sget-object v4, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion$get$1$1;->INSTANCE:Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion$get$1$1;
|
|
|
|
|
|
|
|
check-cast v4, Lrx/functions/b;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Lrx/Observable;->e(Lrx/functions/b;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
invoke-virtual {v3}, Lrx/Observable;->Fo()Lrx/Observable;
|
2019-04-11 23:08:29 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-static {}, Lcom/discord/stores/StoreStream;->getEmojis()Lcom/discord/stores/StoreEmoji;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()J
|
|
|
|
|
|
|
|
move-result-wide v5
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
|
|
|
|
|
|
|
move-result-wide v7
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
const/4 v10, 0x4
|
|
|
|
|
|
|
|
const/4 v11, 0x0
|
|
|
|
|
|
|
|
invoke-static/range {v4 .. v11}, Lcom/discord/stores/StoreEmoji;->getEmojiSet$default(Lcom/discord/stores/StoreEmoji;JJZILjava/lang/Object;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
new-instance v5, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion$get$1$2;
|
|
|
|
|
|
|
|
invoke-direct {v5, p0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion$get$1$2;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListActions$Model$Companion$get$1;Lcom/discord/models/domain/ModelChannel;)V
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-04-11 23:08:29 +00:00
|
|
|
check-cast v5, Lrx/functions/Func5;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-04-11 23:08:29 +00:00
|
|
|
invoke-static/range {v0 .. v5}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/functions/Func5;)Lrx/Observable;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|