Changes of com.discord v989
This commit is contained in:
parent
cb948578ae
commit
dc680a6b51
181 changed files with 4661 additions and 3579 deletions
|
@ -1,5 +1,5 @@
|
|||
!!brut.androlib.meta.MetaInfo
|
||||
apkFileName: com.discord-987.apk
|
||||
apkFileName: com.discord-989.apk
|
||||
compressionType: false
|
||||
doNotCompress:
|
||||
- arsc
|
||||
|
@ -179,5 +179,5 @@ usesFramework:
|
|||
tag: null
|
||||
version: 2.4.1-197d46-SNAPSHOT
|
||||
versionInfo:
|
||||
versionCode: '987'
|
||||
versionName: 9.8.7
|
||||
versionCode: '989'
|
||||
versionName: 9.8.9
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
#
|
||||
#Do NOT modify, delete, or commit to source control!
|
||||
#
|
||||
#Wed Nov 20 20:11:42 UTC 2019
|
||||
version_name=9.8.7
|
||||
#Thu Nov 21 01:44:58 UTC 2019
|
||||
version_name=9.8.9
|
||||
package_name=com.discord
|
||||
build_id=8bf8fb9e-3e45-43e6-83ae-7195de27bcbb
|
||||
version_code=987
|
||||
build_id=78f7fac2-1eb2-4b5a-871b-33aeeecdc2bd
|
||||
version_code=989
|
||||
app_name=com.discord
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -1000,7 +1000,7 @@ ONE MORE THING {fixed}
|
|||
<string name="cloud_sync_modal_error_header">Unable to sync cloud saves</string>
|
||||
<string name="cloud_sync_modal_or">OR</string>
|
||||
<string name="collapse_category">Collapse Category</string>
|
||||
<string name="com.crashlytics.android.build_id">8bf8fb9e-3e45-43e6-83ae-7195de27bcbb</string>
|
||||
<string name="com.crashlytics.android.build_id">78f7fac2-1eb2-4b5a-871b-33aeeecdc2bd</string>
|
||||
<string name="coming_soon">Coming Soon</string>
|
||||
<string name="command_giphy_description">Search Animated GIFs on the Web</string>
|
||||
<string name="command_me_description">Displays text with emphasis.</string>
|
||||
|
@ -4407,6 +4407,8 @@ Server Insights is an experimental feature and is subject to change or removal i
|
|||
<string name="system_dm_empty_message">This is an official message from Team Discord. Please be advised that Discord will never ask you for your password or account token.</string>
|
||||
<string name="system_dm_help_center">Help Center</string>
|
||||
<string name="system_dm_tag_system">SYSTEM</string>
|
||||
<string name="system_dm_urgent_message_modal_body">"There's an official message from the Discord team that needs your attention."</string>
|
||||
<string name="system_dm_urgent_message_modal_header">Urgent Message</string>
|
||||
<string name="system_keyboard">System keyboard</string>
|
||||
<string name="system_message_call_missed">You missed a call from %1$s.</string>
|
||||
<string name="system_message_call_missed_with_duration">You missed a call from %1$s that lasted %2$s.</string>
|
||||
|
|
|
@ -83,9 +83,9 @@
|
|||
|
||||
.field public static final summary_collapsed_preference_list:I = 0x7f1210e1
|
||||
|
||||
.field public static final v7_preference_off:I = 0x7f1212d9
|
||||
.field public static final v7_preference_off:I = 0x7f1212db
|
||||
|
||||
.field public static final v7_preference_on:I = 0x7f1212da
|
||||
.field public static final v7_preference_on:I = 0x7f1212dc
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -83,9 +83,9 @@
|
|||
|
||||
.field public static final summary_collapsed_preference_list:I = 0x7f1210e1
|
||||
|
||||
.field public static final v7_preference_off:I = 0x7f1212d9
|
||||
.field public static final v7_preference_off:I = 0x7f1212db
|
||||
|
||||
.field public static final v7_preference_on:I = 0x7f1212da
|
||||
.field public static final v7_preference_on:I = 0x7f1212dc
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -36,11 +36,11 @@
|
|||
|
||||
.field public static final SAMSUNGxDISCORD_CLIENT_ID:Ljava/lang/String; = "97t47j218f"
|
||||
|
||||
.field public static final USER_AGENT:Ljava/lang/String; = "Discord-Android/987"
|
||||
.field public static final USER_AGENT:Ljava/lang/String; = "Discord-Android/989"
|
||||
|
||||
.field public static final VERSION_CODE:I = 0x3db
|
||||
.field public static final VERSION_CODE:I = 0x3dd
|
||||
|
||||
.field public static final VERSION_NAME:Ljava/lang/String; = "9.8.7"
|
||||
.field public static final VERSION_NAME:Ljava/lang/String; = "9.8.9"
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
aput-object p1, v2, v3
|
||||
|
||||
const p1, 0x7f121214
|
||||
const p1, 0x7f121216
|
||||
|
||||
invoke-virtual {v1, p1, v2}, Lcom/discord/app/AppFragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -302,7 +302,7 @@
|
|||
.method public static final w(Landroid/content/Context;)V
|
||||
.locals 3
|
||||
|
||||
const v0, 0x7f12126b
|
||||
const v0, 0x7f12126d
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const v0, 0x7f121264
|
||||
const v0, 0x7f121266
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/dialogs/a/b;->removeRelationship(I)V
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
|
||||
iget-object p1, p0, Lcom/discord/dialogs/a/b$e;->this$0:Lcom/discord/dialogs/a/b;
|
||||
|
||||
const v0, 0x7f121263
|
||||
const v0, 0x7f121265
|
||||
|
||||
invoke-static {p1, v0}, Lcom/discord/dialogs/a/b;->a(Lcom/discord/dialogs/a/b;I)V
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
invoke-static {v6, v3}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v3, 0x7f12126d
|
||||
const v3, 0x7f12126f # 1.94163E38f
|
||||
|
||||
invoke-virtual {v0, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -147,9 +147,9 @@
|
|||
|
||||
.field public static final summary_collapsed_preference_list:I = 0x7f1210e1
|
||||
|
||||
.field public static final v7_preference_off:I = 0x7f1212d9
|
||||
.field public static final v7_preference_off:I = 0x7f1212db
|
||||
|
||||
.field public static final v7_preference_on:I = 0x7f1212da
|
||||
.field public static final v7_preference_on:I = 0x7f1212dc
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -0,0 +1,109 @@
|
|||
.class final Lcom/discord/models/domain/ModelMuteConfig$Parser$parse$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ModelMuteConfig.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/models/domain/ModelMuteConfig$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelMuteConfig;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x18
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Ljava/lang/String;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic $endTime:Lkotlin/jvm/internal/Ref$ObjectRef;
|
||||
|
||||
.field final synthetic $reader:Lcom/discord/models/domain/Model$JsonReader;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lkotlin/jvm/internal/Ref$ObjectRef;Lcom/discord/models/domain/Model$JsonReader;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/models/domain/ModelMuteConfig$Parser$parse$1;->$endTime:Lkotlin/jvm/internal/Ref$ObjectRef;
|
||||
|
||||
iput-object p2, p0, Lcom/discord/models/domain/ModelMuteConfig$Parser$parse$1;->$reader:Lcom/discord/models/domain/Model$JsonReader;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final bridge synthetic call(Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/models/domain/ModelMuteConfig$Parser$parse$1;->call(Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final call(Ljava/lang/String;)V
|
||||
.locals 2
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p1}, Ljava/lang/String;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
const v1, 0x66d9d3b1
|
||||
|
||||
if-eq v0, v1, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const-string v0, "end_time"
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
iget-object p1, p0, Lcom/discord/models/domain/ModelMuteConfig$Parser$parse$1;->$endTime:Lkotlin/jvm/internal/Ref$ObjectRef;
|
||||
|
||||
iget-object v0, p0, Lcom/discord/models/domain/ModelMuteConfig$Parser$parse$1;->$reader:Lcom/discord/models/domain/Model$JsonReader;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/models/domain/Model$JsonReader;->nextStringOrNull()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
iget-object p1, p0, Lcom/discord/models/domain/ModelMuteConfig$Parser$parse$1;->$reader:Lcom/discord/models/domain/Model$JsonReader;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/Model$JsonReader;->skipValue()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,90 @@
|
|||
.class public final Lcom/discord/models/domain/ModelMuteConfig$Parser;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ModelMuteConfig.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/discord/models/domain/Model$Parser;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/discord/models/domain/ModelMuteConfig;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Parser"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Lcom/discord/models/domain/Model$Parser<",
|
||||
"Lcom/discord/models/domain/ModelMuteConfig;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lcom/discord/models/domain/ModelMuteConfig$Parser;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelMuteConfig;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "reader"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lkotlin/jvm/internal/Ref$ObjectRef;
|
||||
|
||||
invoke-direct {v0}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
iput-object v1, v0, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
||||
|
||||
new-instance v1, Lcom/discord/models/domain/ModelMuteConfig$Parser$parse$1;
|
||||
|
||||
invoke-direct {v1, v0, p1}, Lcom/discord/models/domain/ModelMuteConfig$Parser$parse$1;-><init>(Lkotlin/jvm/internal/Ref$ObjectRef;Lcom/discord/models/domain/Model$JsonReader;)V
|
||||
|
||||
check-cast v1, Lrx/functions/Action1;
|
||||
|
||||
invoke-virtual {p1, v1}, Lcom/discord/models/domain/Model$JsonReader;->nextObject(Lrx/functions/Action1;)V
|
||||
|
||||
new-instance p1, Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
iget-object v0, v0, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Ljava/lang/String;
|
||||
|
||||
invoke-direct {p1, v0}, Lcom/discord/models/domain/ModelMuteConfig;-><init>(Ljava/lang/String;)V
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final bridge synthetic parse(Lcom/discord/models/domain/Model$JsonReader;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/models/domain/ModelMuteConfig$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,93 @@
|
|||
.class final Lcom/discord/models/domain/ModelMuteConfig$endTimeMs$2;
|
||||
.super Lkotlin/jvm/internal/m;
|
||||
.source "ModelMuteConfig.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function0;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/models/domain/ModelMuteConfig;-><init>(Ljava/lang/String;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x18
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/internal/m;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic this$0:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lcom/discord/models/domain/ModelMuteConfig;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/models/domain/ModelMuteConfig$endTimeMs$2;->this$0:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final invoke()Ljava/lang/Long;
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lcom/discord/models/domain/ModelMuteConfig$endTimeMs$2;->this$0:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/models/domain/ModelMuteConfig;->getEndTime()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-static {}, Lcom/miguelgaeta/simple_time/SimpleTime;->getDefault()Lcom/miguelgaeta/simple_time/SimpleTime;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lcom/discord/models/domain/ModelMuteConfig$endTimeMs$2;->this$0:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/models/domain/ModelMuteConfig;->getEndTime()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/miguelgaeta/simple_time/SimpleTime;->parseUTCDate(Ljava/lang/String;)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final bridge synthetic invoke()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelMuteConfig$endTimeMs$2;->invoke()Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -0,0 +1,240 @@
|
|||
.class public final Lcom/discord/models/domain/ModelMuteConfig;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ModelMuteConfig.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/discord/models/domain/ModelMuteConfig$Parser;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
||||
|
||||
.field public static final Parser:Lcom/discord/models/domain/ModelMuteConfig$Parser;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final endTime:Ljava/lang/String;
|
||||
|
||||
.field private final endTimeMs$delegate:Lkotlin/Lazy;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 5
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
||||
|
||||
new-instance v1, Lkotlin/jvm/internal/x;
|
||||
|
||||
const-class v2, Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
invoke-static {v2}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-string v3, "endTimeMs"
|
||||
|
||||
const-string v4, "getEndTimeMs()Ljava/lang/Long;"
|
||||
|
||||
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v1}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lkotlin/reflect/KProperty;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
sput-object v0, Lcom/discord/models/domain/ModelMuteConfig;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
||||
|
||||
new-instance v0, Lcom/discord/models/domain/ModelMuteConfig$Parser;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lcom/discord/models/domain/ModelMuteConfig$Parser;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lcom/discord/models/domain/ModelMuteConfig;->Parser:Lcom/discord/models/domain/ModelMuteConfig$Parser;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lcom/discord/models/domain/ModelMuteConfig;->endTime:Ljava/lang/String;
|
||||
|
||||
new-instance p1, Lcom/discord/models/domain/ModelMuteConfig$endTimeMs$2;
|
||||
|
||||
invoke-direct {p1, p0}, Lcom/discord/models/domain/ModelMuteConfig$endTimeMs$2;-><init>(Lcom/discord/models/domain/ModelMuteConfig;)V
|
||||
|
||||
check-cast p1, Lkotlin/jvm/functions/Function0;
|
||||
|
||||
invoke-static {p1}, Lkotlin/f;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lcom/discord/models/domain/ModelMuteConfig;->endTimeMs$delegate:Lkotlin/Lazy;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static synthetic copy$default(Lcom/discord/models/domain/ModelMuteConfig;Ljava/lang/String;ILjava/lang/Object;)Lcom/discord/models/domain/ModelMuteConfig;
|
||||
.locals 0
|
||||
|
||||
and-int/lit8 p2, p2, 0x1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
iget-object p1, p0, Lcom/discord/models/domain/ModelMuteConfig;->endTime:Ljava/lang/String;
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0, p1}, Lcom/discord/models/domain/ModelMuteConfig;->copy(Ljava/lang/String;)Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelMuteConfig;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lcom/discord/models/domain/ModelMuteConfig;->Parser:Lcom/discord/models/domain/ModelMuteConfig$Parser;
|
||||
|
||||
invoke-virtual {v0, p0}, Lcom/discord/models/domain/ModelMuteConfig$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final component1()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/discord/models/domain/ModelMuteConfig;->endTime:Ljava/lang/String;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final copy(Ljava/lang/String;)Lcom/discord/models/domain/ModelMuteConfig;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
invoke-direct {v0, p1}, Lcom/discord/models/domain/ModelMuteConfig;-><init>(Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final equals(Ljava/lang/Object;)Z
|
||||
.locals 1
|
||||
|
||||
if-eq p0, p1, :cond_1
|
||||
|
||||
instance-of v0, p1, Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
iget-object v0, p0, Lcom/discord/models/domain/ModelMuteConfig;->endTime:Ljava/lang/String;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/models/domain/ModelMuteConfig;->endTime:Ljava/lang/String;
|
||||
|
||||
invoke-static {v0, p1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final getEndTime()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/discord/models/domain/ModelMuteConfig;->endTime:Ljava/lang/String;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getEndTimeMs()Ljava/lang/Long;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/discord/models/domain/ModelMuteConfig;->endTimeMs$delegate:Lkotlin/Lazy;
|
||||
|
||||
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Ljava/lang/Long;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final hashCode()I
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/discord/models/domain/ModelMuteConfig;->endTime:Ljava/lang/String;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, "ModelMuteConfig(endTime="
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lcom/discord/models/domain/ModelMuteConfig;->endTime:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ")"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -20,8 +20,12 @@
|
|||
# instance fields
|
||||
.field private channelId:J
|
||||
|
||||
.field private transient derivedMute:Z
|
||||
|
||||
.field private messageNotifications:I
|
||||
|
||||
.field private muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
.field private muted:Z
|
||||
|
||||
|
||||
|
@ -46,6 +50,32 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(ZLcom/discord/models/domain/ModelMuteConfig;ZIJ)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-boolean p1, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muted:Z
|
||||
|
||||
iput-object p2, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
iput-boolean p3, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->derivedMute:Z
|
||||
|
||||
iput p4, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->messageNotifications:I
|
||||
|
||||
iput-wide p5, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->channelId:J
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method static synthetic access$000(Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;)Lcom/discord/models/domain/ModelMuteConfig;
|
||||
.locals 0
|
||||
|
||||
iget-object p0, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public assignField(Lcom/discord/models/domain/Model$JsonReader;)V
|
||||
|
@ -64,79 +94,86 @@
|
|||
|
||||
move-result v1
|
||||
|
||||
const v2, -0x7315ce29
|
||||
const/4 v2, 0x3
|
||||
|
||||
const/4 v3, 0x2
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
if-eq v1, v2, :cond_2
|
||||
|
||||
const v2, 0x636f16b
|
||||
|
||||
if-eq v1, v2, :cond_1
|
||||
|
||||
const v2, 0x53cf4eb0
|
||||
|
||||
if-eq v1, v2, :cond_0
|
||||
sparse-switch v1, :sswitch_data_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
:sswitch_0
|
||||
const-string v1, "message_notifications"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
const/4 v0, 0x2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
:sswitch_1
|
||||
const-string v1, "muted"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
:sswitch_2
|
||||
const-string v1, "channel_id"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x2
|
||||
const/4 v0, 0x3
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
:sswitch_3
|
||||
const-string v1, "mute_config"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
const/4 v0, -0x1
|
||||
|
||||
:goto_1
|
||||
if-eqz v0, :cond_6
|
||||
if-eqz v0, :cond_5
|
||||
|
||||
if-eq v0, v4, :cond_5
|
||||
if-eq v0, v4, :cond_3
|
||||
|
||||
if-eq v0, v3, :cond_4
|
||||
if-eq v0, v3, :cond_2
|
||||
|
||||
if-eq v0, v2, :cond_1
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/Model$JsonReader;->skipValue()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_4
|
||||
:cond_1
|
||||
iget-wide v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->channelId:J
|
||||
|
||||
invoke-virtual {p1, v0, v1}, Lcom/discord/models/domain/Model$JsonReader;->nextLong(J)J
|
||||
|
@ -147,7 +184,7 @@
|
|||
|
||||
return-void
|
||||
|
||||
:cond_5
|
||||
:cond_2
|
||||
iget v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->messageNotifications:I
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/models/domain/Model$JsonReader;->nextInt(I)I
|
||||
|
@ -158,7 +195,31 @@
|
|||
|
||||
return-void
|
||||
|
||||
:cond_6
|
||||
:cond_3
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/Model$JsonReader;->peek()Lcom/google/gson/stream/JsonToken;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget-object v1, Lcom/google/gson/stream/JsonToken;->NULL:Lcom/google/gson/stream/JsonToken;
|
||||
|
||||
if-ne v0, v1, :cond_4
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/Model$JsonReader;->nextNull()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_4
|
||||
sget-object v0, Lcom/discord/models/domain/ModelMuteConfig;->Parser:Lcom/discord/models/domain/ModelMuteConfig$Parser;
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/discord/models/domain/ModelMuteConfig$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_5
|
||||
iget-boolean v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muted:Z
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/models/domain/Model$JsonReader;->nextBoolean(Z)Z
|
||||
|
@ -168,6 +229,14 @@
|
|||
iput-boolean p1, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muted:Z
|
||||
|
||||
return-void
|
||||
|
||||
:sswitch_data_0
|
||||
.sparse-switch
|
||||
-0x7986afd8 -> :sswitch_3
|
||||
-0x7315ce29 -> :sswitch_2
|
||||
0x636f16b -> :sswitch_1
|
||||
0x53cf4eb0 -> :sswitch_0
|
||||
.end sparse-switch
|
||||
.end method
|
||||
|
||||
.method protected canEqual(Ljava/lang/Object;)Z
|
||||
|
@ -178,6 +247,52 @@
|
|||
return p1
|
||||
.end method
|
||||
|
||||
.method public copyAndRecomputeTransientFields(Lcom/discord/utilities/clocks/Clock;)Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;
|
||||
.locals 8
|
||||
|
||||
iget-object v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v0}, Lcom/discord/models/domain/ModelMuteConfig;->getEndTime()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/models/domain/ModelMuteConfig;->copy(Ljava/lang/String;)Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:goto_0
|
||||
move-object v3, v0
|
||||
|
||||
iget-boolean v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muted:Z
|
||||
|
||||
iget-object v1, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
invoke-static {v0, v1, p1}, Lcom/discord/models/domain/NotificationSettingsModelUtils;->isMuted(ZLcom/discord/models/domain/ModelMuteConfig;Lcom/discord/utilities/clocks/Clock;)Z
|
||||
|
||||
move-result v4
|
||||
|
||||
new-instance p1, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;
|
||||
|
||||
iget-boolean v2, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muted:Z
|
||||
|
||||
iget v5, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->messageNotifications:I
|
||||
|
||||
iget-wide v6, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->channelId:J
|
||||
|
||||
move-object v1, p1
|
||||
|
||||
invoke-direct/range {v1 .. v7}, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;-><init>(ZLcom/discord/models/domain/ModelMuteConfig;ZIJ)V
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public equals(Ljava/lang/Object;)Z
|
||||
.locals 7
|
||||
|
||||
|
@ -221,6 +336,36 @@
|
|||
return v2
|
||||
|
||||
:cond_3
|
||||
iget-object v1, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
iget-object v3, p1, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
if-nez v1, :cond_4
|
||||
|
||||
if-eqz v3, :cond_5
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_4
|
||||
invoke-virtual {v1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-nez v1, :cond_5
|
||||
|
||||
:goto_0
|
||||
return v2
|
||||
|
||||
:cond_5
|
||||
iget-boolean v1, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->derivedMute:Z
|
||||
|
||||
iget-boolean v3, p1, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->derivedMute:Z
|
||||
|
||||
if-eq v1, v3, :cond_6
|
||||
|
||||
return v2
|
||||
|
||||
:cond_6
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->getMessageNotifications()I
|
||||
|
||||
move-result v1
|
||||
|
@ -229,11 +374,11 @@
|
|||
|
||||
move-result v3
|
||||
|
||||
if-eq v1, v3, :cond_4
|
||||
if-eq v1, v3, :cond_7
|
||||
|
||||
return v2
|
||||
|
||||
:cond_4
|
||||
:cond_7
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->getChannelId()J
|
||||
|
||||
move-result-wide v3
|
||||
|
@ -244,11 +389,11 @@
|
|||
|
||||
cmp-long p1, v3, v5
|
||||
|
||||
if-eqz p1, :cond_5
|
||||
if-eqz p1, :cond_8
|
||||
|
||||
return v2
|
||||
|
||||
:cond_5
|
||||
:cond_8
|
||||
return v0
|
||||
.end method
|
||||
|
||||
|
@ -275,6 +420,10 @@
|
|||
|
||||
move-result v0
|
||||
|
||||
const/16 v1, 0x4f
|
||||
|
||||
const/16 v2, 0x61
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/16 v0, 0x4f
|
||||
|
@ -287,6 +436,38 @@
|
|||
:goto_0
|
||||
add-int/lit8 v0, v0, 0x3b
|
||||
|
||||
iget-object v3, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
mul-int/lit8 v0, v0, 0x3b
|
||||
|
||||
if-nez v3, :cond_1
|
||||
|
||||
const/16 v3, 0x2b
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {v3}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v3
|
||||
|
||||
:goto_1
|
||||
add-int/2addr v0, v3
|
||||
|
||||
mul-int/lit8 v0, v0, 0x3b
|
||||
|
||||
iget-boolean v3, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->derivedMute:Z
|
||||
|
||||
if-eqz v3, :cond_2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
const/16 v1, 0x61
|
||||
|
||||
:goto_2
|
||||
add-int/2addr v0, v1
|
||||
|
||||
mul-int/lit8 v0, v0, 0x3b
|
||||
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->getMessageNotifications()I
|
||||
|
@ -317,7 +498,7 @@
|
|||
.method public isMuted()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muted:Z
|
||||
iget-boolean v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->derivedMute:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
@ -337,6 +518,22 @@
|
|||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", muteConfig="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", derivedMute="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-boolean v1, p0, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->derivedMute:Z
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", messageNotifications="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
|
|
@ -35,12 +35,16 @@
|
|||
.end annotation
|
||||
.end field
|
||||
|
||||
.field private transient derivedMute:Z
|
||||
|
||||
.field private guildId:J
|
||||
|
||||
.field private messageNotifications:I
|
||||
|
||||
.field private mobilePush:Z
|
||||
|
||||
.field private muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
.field private muted:Z
|
||||
|
||||
.field private suppressEveryone:Z
|
||||
|
@ -64,6 +68,10 @@
|
|||
|
||||
iput-boolean v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muted:Z
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-object v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->mobilePush:Z
|
||||
|
@ -85,6 +93,40 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(ZZLcom/discord/models/domain/ModelMuteConfig;ZZIJLjava/util/List;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(ZZ",
|
||||
"Lcom/discord/models/domain/ModelMuteConfig;",
|
||||
"ZZIJ",
|
||||
"Ljava/util/List<",
|
||||
"Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-boolean p1, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->suppressEveryone:Z
|
||||
|
||||
iput-boolean p2, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muted:Z
|
||||
|
||||
iput-object p3, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
iput-boolean p4, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->derivedMute:Z
|
||||
|
||||
iput-boolean p5, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->mobilePush:Z
|
||||
|
||||
iput p6, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->messageNotifications:I
|
||||
|
||||
iput-wide p7, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->guildId:J
|
||||
|
||||
iput-object p9, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->channelOverrides:Ljava/util/List;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method static synthetic lambda$assignField$0(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
|
@ -109,7 +151,7 @@
|
|||
|
||||
# virtual methods
|
||||
.method public assignField(Lcom/discord/models/domain/Model$JsonReader;)V
|
||||
.locals 7
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
|
@ -124,16 +166,6 @@
|
|||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x5
|
||||
|
||||
const/4 v3, 0x4
|
||||
|
||||
const/4 v4, 0x3
|
||||
|
||||
const/4 v5, 0x2
|
||||
|
||||
const/4 v6, 0x1
|
||||
|
||||
sparse-switch v1, :sswitch_data_0
|
||||
|
||||
goto :goto_0
|
||||
|
@ -160,7 +192,7 @@
|
|||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x3
|
||||
const/4 v0, 0x4
|
||||
|
||||
goto :goto_1
|
||||
|
||||
|
@ -186,7 +218,7 @@
|
|||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x5
|
||||
const/4 v0, 0x6
|
||||
|
||||
goto :goto_1
|
||||
|
||||
|
@ -199,7 +231,7 @@
|
|||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x4
|
||||
const/4 v0, 0x5
|
||||
|
||||
goto :goto_1
|
||||
|
||||
|
@ -212,6 +244,19 @@
|
|||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:sswitch_6
|
||||
const-string v1, "mute_config"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x2
|
||||
|
||||
goto :goto_1
|
||||
|
@ -221,23 +266,13 @@
|
|||
const/4 v0, -0x1
|
||||
|
||||
:goto_1
|
||||
if-eqz v0, :cond_6
|
||||
|
||||
if-eq v0, v6, :cond_5
|
||||
|
||||
if-eq v0, v5, :cond_4
|
||||
|
||||
if-eq v0, v4, :cond_3
|
||||
|
||||
if-eq v0, v3, :cond_2
|
||||
|
||||
if-eq v0, v2, :cond_1
|
||||
packed-switch v0, :pswitch_data_0
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/Model$JsonReader;->skipValue()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
:pswitch_0
|
||||
new-instance v0, Lcom/discord/models/domain/-$$Lambda$ModelUserGuildSettings$IvOTQQITKYcQVvFUeVXDgMhlxYM;
|
||||
|
||||
invoke-direct {v0, p1}, Lcom/discord/models/domain/-$$Lambda$ModelUserGuildSettings$IvOTQQITKYcQVvFUeVXDgMhlxYM;-><init>(Lcom/discord/models/domain/Model$JsonReader;)V
|
||||
|
@ -250,7 +285,7 @@
|
|||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
:pswitch_1
|
||||
iget-wide v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->guildId:J
|
||||
|
||||
invoke-virtual {p1, v0, v1}, Lcom/discord/models/domain/Model$JsonReader;->nextLong(J)J
|
||||
|
@ -261,7 +296,7 @@
|
|||
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
:pswitch_2
|
||||
iget v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->messageNotifications:I
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/models/domain/Model$JsonReader;->nextInt(I)I
|
||||
|
@ -272,7 +307,7 @@
|
|||
|
||||
return-void
|
||||
|
||||
:cond_4
|
||||
:pswitch_3
|
||||
iget-boolean v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->mobilePush:Z
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/models/domain/Model$JsonReader;->nextBoolean(Z)Z
|
||||
|
@ -283,7 +318,31 @@
|
|||
|
||||
return-void
|
||||
|
||||
:cond_5
|
||||
:pswitch_4
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/Model$JsonReader;->peek()Lcom/google/gson/stream/JsonToken;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget-object v1, Lcom/google/gson/stream/JsonToken;->NULL:Lcom/google/gson/stream/JsonToken;
|
||||
|
||||
if-ne v0, v1, :cond_1
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/Model$JsonReader;->nextNull()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
sget-object v0, Lcom/discord/models/domain/ModelMuteConfig;->Parser:Lcom/discord/models/domain/ModelMuteConfig$Parser;
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/discord/models/domain/ModelMuteConfig$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
return-void
|
||||
|
||||
:pswitch_5
|
||||
iget-boolean v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muted:Z
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/models/domain/Model$JsonReader;->nextBoolean(Z)Z
|
||||
|
@ -294,7 +353,7 @@
|
|||
|
||||
return-void
|
||||
|
||||
:cond_6
|
||||
:pswitch_6
|
||||
iget-boolean v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->suppressEveryone:Z
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/models/domain/Model$JsonReader;->nextBoolean(Z)Z
|
||||
|
@ -305,10 +364,9 @@
|
|||
|
||||
return-void
|
||||
|
||||
nop
|
||||
|
||||
:sswitch_data_0
|
||||
.sparse-switch
|
||||
-0x7986afd8 -> :sswitch_6
|
||||
-0x4e501369 -> :sswitch_5
|
||||
-0x4de03319 -> :sswitch_4
|
||||
-0x41315215 -> :sswitch_3
|
||||
|
@ -316,6 +374,17 @@
|
|||
0x53cf4eb0 -> :sswitch_1
|
||||
0x6a5ce7b5 -> :sswitch_0
|
||||
.end sparse-switch
|
||||
|
||||
:pswitch_data_0
|
||||
.packed-switch 0x0
|
||||
:pswitch_6
|
||||
:pswitch_5
|
||||
:pswitch_4
|
||||
:pswitch_3
|
||||
:pswitch_2
|
||||
:pswitch_1
|
||||
:pswitch_0
|
||||
.end packed-switch
|
||||
.end method
|
||||
|
||||
.method protected canEqual(Ljava/lang/Object;)Z
|
||||
|
@ -326,6 +395,88 @@
|
|||
return p1
|
||||
.end method
|
||||
|
||||
.method public copyAndRecomputeTransientFields(Lcom/discord/utilities/clocks/Clock;)Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
.locals 11
|
||||
|
||||
iget-object v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v0}, Lcom/discord/models/domain/ModelMuteConfig;->getEndTime()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/models/domain/ModelMuteConfig;->copy(Ljava/lang/String;)Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:goto_0
|
||||
move-object v4, v0
|
||||
|
||||
iget-boolean v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muted:Z
|
||||
|
||||
iget-object v1, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
invoke-static {v0, v1, p1}, Lcom/discord/models/domain/NotificationSettingsModelUtils;->isMuted(ZLcom/discord/models/domain/ModelMuteConfig;Lcom/discord/utilities/clocks/Clock;)Z
|
||||
|
||||
move-result v5
|
||||
|
||||
new-instance v10, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v10}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
iget-object v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->channelOverrides:Ljava/util/List;
|
||||
|
||||
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:goto_1
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;
|
||||
|
||||
invoke-virtual {v1, p1}, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->copyAndRecomputeTransientFields(Lcom/discord/utilities/clocks/Clock;)Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-interface {v10, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
|
||||
iget-boolean v2, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->suppressEveryone:Z
|
||||
|
||||
iget-boolean v3, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muted:Z
|
||||
|
||||
iget-boolean v6, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->mobilePush:Z
|
||||
|
||||
iget v7, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->messageNotifications:I
|
||||
|
||||
iget-wide v8, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->guildId:J
|
||||
|
||||
move-object v1, p1
|
||||
|
||||
invoke-direct/range {v1 .. v10}, Lcom/discord/models/domain/ModelUserGuildSettings;-><init>(ZZLcom/discord/models/domain/ModelMuteConfig;ZZIJLjava/util/List;)V
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public equals(Ljava/lang/Object;)Z
|
||||
.locals 7
|
||||
|
||||
|
@ -382,6 +533,36 @@
|
|||
return v2
|
||||
|
||||
:cond_4
|
||||
iget-object v1, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
iget-object v3, p1, Lcom/discord/models/domain/ModelUserGuildSettings;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
if-nez v1, :cond_5
|
||||
|
||||
if-eqz v3, :cond_6
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_5
|
||||
invoke-virtual {v1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-nez v1, :cond_6
|
||||
|
||||
:goto_0
|
||||
return v2
|
||||
|
||||
:cond_6
|
||||
iget-boolean v1, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->derivedMute:Z
|
||||
|
||||
iget-boolean v3, p1, Lcom/discord/models/domain/ModelUserGuildSettings;->derivedMute:Z
|
||||
|
||||
if-eq v1, v3, :cond_7
|
||||
|
||||
return v2
|
||||
|
||||
:cond_7
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelUserGuildSettings;->isMobilePush()Z
|
||||
|
||||
move-result v1
|
||||
|
@ -390,11 +571,11 @@
|
|||
|
||||
move-result v3
|
||||
|
||||
if-eq v1, v3, :cond_5
|
||||
if-eq v1, v3, :cond_8
|
||||
|
||||
return v2
|
||||
|
||||
:cond_5
|
||||
:cond_8
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelUserGuildSettings;->getMessageNotifications()I
|
||||
|
||||
move-result v1
|
||||
|
@ -403,11 +584,11 @@
|
|||
|
||||
move-result v3
|
||||
|
||||
if-eq v1, v3, :cond_6
|
||||
if-eq v1, v3, :cond_9
|
||||
|
||||
return v2
|
||||
|
||||
:cond_6
|
||||
:cond_9
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelUserGuildSettings;->getGuildId()J
|
||||
|
||||
move-result-wide v3
|
||||
|
@ -418,11 +599,11 @@
|
|||
|
||||
cmp-long v1, v3, v5
|
||||
|
||||
if-eqz v1, :cond_7
|
||||
if-eqz v1, :cond_a
|
||||
|
||||
return v2
|
||||
|
||||
:cond_7
|
||||
:cond_a
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelUserGuildSettings;->getChannelOverrides()Ljava/util/List;
|
||||
|
||||
move-result-object v1
|
||||
|
@ -431,23 +612,23 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
if-nez v1, :cond_8
|
||||
if-nez v1, :cond_b
|
||||
|
||||
if-eqz p1, :cond_9
|
||||
if-eqz p1, :cond_c
|
||||
|
||||
goto :goto_0
|
||||
goto :goto_1
|
||||
|
||||
:cond_8
|
||||
:cond_b
|
||||
invoke-virtual {v1, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-nez p1, :cond_9
|
||||
if-nez p1, :cond_c
|
||||
|
||||
:goto_0
|
||||
:goto_1
|
||||
return v2
|
||||
|
||||
:cond_9
|
||||
:cond_c
|
||||
return v0
|
||||
.end method
|
||||
|
||||
|
@ -526,8 +707,107 @@
|
|||
return v0
|
||||
.end method
|
||||
|
||||
.method public getNextMuteEndTimeMs(Lcom/discord/utilities/clocks/Clock;)J
|
||||
.locals 8
|
||||
|
||||
invoke-interface {p1}, Lcom/discord/utilities/clocks/Clock;->currentTimeMillis()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
iget-object p1, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelMuteConfig;->getEndTimeMs()Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
cmp-long v4, v2, v0
|
||||
|
||||
if-lez v4, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const-wide v2, 0x7fffffffffffffffL
|
||||
|
||||
:goto_0
|
||||
iget-object p1, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->channelOverrides:Ljava/util/List;
|
||||
|
||||
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:cond_1
|
||||
:goto_1
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-eqz v4, :cond_3
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
check-cast v4, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;
|
||||
|
||||
invoke-static {v4}, Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;->access$000(Lcom/discord/models/domain/ModelUserGuildSettings$ChannelOverride;)Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
if-eqz v4, :cond_2
|
||||
|
||||
invoke-virtual {v4}, Lcom/discord/models/domain/ModelMuteConfig;->getEndTimeMs()Ljava/lang/Long;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
const-wide/high16 v4, -0x8000000000000000L
|
||||
|
||||
invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
:goto_2
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v5
|
||||
|
||||
cmp-long v7, v5, v0
|
||||
|
||||
if-lez v7, :cond_1
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v4
|
||||
|
||||
invoke-static {v2, v3, v4, v5}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
return-wide v2
|
||||
.end method
|
||||
|
||||
.method public hashCode()I
|
||||
.locals 5
|
||||
.locals 7
|
||||
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelUserGuildSettings;->isSuppressEveryone()Z
|
||||
|
||||
|
@ -567,20 +847,56 @@
|
|||
:goto_1
|
||||
add-int/2addr v0, v3
|
||||
|
||||
iget-object v3, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
mul-int/lit8 v0, v0, 0x3b
|
||||
|
||||
const/16 v4, 0x2b
|
||||
|
||||
if-nez v3, :cond_2
|
||||
|
||||
const/16 v3, 0x2b
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {v3}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v3
|
||||
|
||||
:goto_2
|
||||
add-int/2addr v0, v3
|
||||
|
||||
mul-int/lit8 v0, v0, 0x3b
|
||||
|
||||
iget-boolean v3, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->derivedMute:Z
|
||||
|
||||
if-eqz v3, :cond_3
|
||||
|
||||
const/16 v3, 0x4f
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_3
|
||||
const/16 v3, 0x61
|
||||
|
||||
:goto_3
|
||||
add-int/2addr v0, v3
|
||||
|
||||
mul-int/lit8 v0, v0, 0x3b
|
||||
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelUserGuildSettings;->isMobilePush()Z
|
||||
|
||||
move-result v3
|
||||
|
||||
if-eqz v3, :cond_2
|
||||
if-eqz v3, :cond_4
|
||||
|
||||
goto :goto_2
|
||||
goto :goto_4
|
||||
|
||||
:cond_2
|
||||
:cond_4
|
||||
const/16 v1, 0x61
|
||||
|
||||
:goto_2
|
||||
:goto_4
|
||||
add-int/2addr v0, v1
|
||||
|
||||
mul-int/lit8 v0, v0, 0x3b
|
||||
|
@ -599,9 +915,9 @@
|
|||
|
||||
const/16 v3, 0x20
|
||||
|
||||
ushr-long v3, v1, v3
|
||||
ushr-long v5, v1, v3
|
||||
|
||||
xor-long/2addr v1, v3
|
||||
xor-long/2addr v1, v5
|
||||
|
||||
long-to-int v2, v1
|
||||
|
||||
|
@ -613,19 +929,17 @@
|
|||
|
||||
mul-int/lit8 v0, v0, 0x3b
|
||||
|
||||
if-nez v1, :cond_3
|
||||
if-nez v1, :cond_5
|
||||
|
||||
const/16 v1, 0x2b
|
||||
goto :goto_5
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_3
|
||||
:cond_5
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v1
|
||||
move-result v4
|
||||
|
||||
:goto_3
|
||||
add-int/2addr v0, v1
|
||||
:goto_5
|
||||
add-int/2addr v0, v4
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
@ -641,7 +955,7 @@
|
|||
.method public isMuted()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muted:Z
|
||||
iget-boolean v0, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->derivedMute:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
@ -679,6 +993,22 @@
|
|||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", muteConfig="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", derivedMute="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-boolean v1, p0, Lcom/discord/models/domain/ModelUserGuildSettings;->derivedMute:Z
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", mobilePush="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
|
|
@ -0,0 +1,78 @@
|
|||
.class public final Lcom/discord/models/domain/NotificationSettingsModelUtils;
|
||||
.super Ljava/lang/Object;
|
||||
.source "NotificationSettingsModelUtils.kt"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/models/domain/NotificationSettingsModelUtils;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/models/domain/NotificationSettingsModelUtils;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/models/domain/NotificationSettingsModelUtils;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/models/domain/NotificationSettingsModelUtils;->INSTANCE:Lcom/discord/models/domain/NotificationSettingsModelUtils;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final isMuted(ZLcom/discord/models/domain/ModelMuteConfig;Lcom/discord/utilities/clocks/Clock;)Z
|
||||
.locals 5
|
||||
|
||||
const-string v0, "clock"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelMuteConfig;->getEndTimeMs()Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
invoke-interface {p2}, Lcom/discord/utilities/clocks/Clock;->currentTimeMillis()J
|
||||
|
||||
move-result-wide p1
|
||||
|
||||
cmp-long v4, v2, p1
|
||||
|
||||
if-gtz v4, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz p0, :cond_1
|
||||
|
||||
if-nez p1, :cond_1
|
||||
|
||||
return v0
|
||||
|
||||
:cond_1
|
||||
return v1
|
||||
.end method
|
|
@ -145,9 +145,9 @@
|
|||
|
||||
.field public static final summary_collapsed_preference_list:I = 0x7f1210e1
|
||||
|
||||
.field public static final v7_preference_off:I = 0x7f1212d9
|
||||
.field public static final v7_preference_off:I = 0x7f1212db
|
||||
|
||||
.field public static final v7_preference_on:I = 0x7f1212da
|
||||
.field public static final v7_preference_on:I = 0x7f1212dc
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
.class public final synthetic Lcom/discord/stores/-$$Lambda$0UyPDl1dK0kI7uSVBuqxhyISp_w;
|
||||
.super Ljava/lang/Object;
|
||||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final synthetic f$0:Ljava/util/Set;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Ljava/util/Set;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lcom/discord/stores/-$$Lambda$0UyPDl1dK0kI7uSVBuqxhyISp_w;->f$0:Ljava/util/Set;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/-$$Lambda$0UyPDl1dK0kI7uSVBuqxhyISp_w;->f$0:Ljava/util/Set;
|
||||
|
||||
check-cast p1, Ljava/util/Set;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,46 +0,0 @@
|
|||
.class public final synthetic Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$3_wfNdqftcJSlhKnFVf-RHo4VZU;
|
||||
.super Ljava/lang/Object;
|
||||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/b;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final synthetic INSTANCE:Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$3_wfNdqftcJSlhKnFVf-RHo4VZU;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static synthetic constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$3_wfNdqftcJSlhKnFVf-RHo4VZU;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$3_wfNdqftcJSlhKnFVf-RHo4VZU;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$3_wfNdqftcJSlhKnFVf-RHo4VZU;->INSTANCE:Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$3_wfNdqftcJSlhKnFVf-RHo4VZU;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private synthetic constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/util/Map;
|
||||
|
||||
invoke-static {p1}, Lcom/discord/stores/StoreUserGuildSettings;->lambda$getMuted$5(Ljava/util/Map;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,38 +0,0 @@
|
|||
.class public final synthetic Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$CKg3Y3f26LcafhVO_loewL4XViw;
|
||||
.super Ljava/lang/Object;
|
||||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/b;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final synthetic f$0:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(J)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-wide p1, p0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$CKg3Y3f26LcafhVO_loewL4XViw;->f$0:J
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 2
|
||||
|
||||
iget-wide v0, p0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$CKg3Y3f26LcafhVO_loewL4XViw;->f$0:J
|
||||
|
||||
check-cast p1, Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v1, p1}, Lcom/discord/stores/StoreUserGuildSettings;->lambda$get$1(JLjava/util/Map;)Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,46 +0,0 @@
|
|||
.class public final synthetic Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$JIzKtlo9h0Kzlbukmhbp5tUJhMs;
|
||||
.super Ljava/lang/Object;
|
||||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/b;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final synthetic INSTANCE:Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$JIzKtlo9h0Kzlbukmhbp5tUJhMs;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static synthetic constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$JIzKtlo9h0Kzlbukmhbp5tUJhMs;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$JIzKtlo9h0Kzlbukmhbp5tUJhMs;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$JIzKtlo9h0Kzlbukmhbp5tUJhMs;->INSTANCE:Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$JIzKtlo9h0Kzlbukmhbp5tUJhMs;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private synthetic constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
|
||||
invoke-static {p1}, Lcom/discord/stores/StoreUserGuildSettings;->lambda$get$2(Lcom/discord/models/domain/ModelUserGuildSettings;)Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,46 +0,0 @@
|
|||
.class public final synthetic Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$U4SbAP8nl3XZYX4RapeY11Chko4;
|
||||
.super Ljava/lang/Object;
|
||||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/b;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final synthetic INSTANCE:Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$U4SbAP8nl3XZYX4RapeY11Chko4;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static synthetic constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$U4SbAP8nl3XZYX4RapeY11Chko4;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$U4SbAP8nl3XZYX4RapeY11Chko4;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$U4SbAP8nl3XZYX4RapeY11Chko4;->INSTANCE:Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$U4SbAP8nl3XZYX4RapeY11Chko4;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private synthetic constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
|
||||
invoke-static {p1}, Lcom/discord/stores/StoreUserGuildSettings;->lambda$null$3(Lcom/discord/models/domain/ModelUserGuildSettings;)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,38 +0,0 @@
|
|||
.class public final synthetic Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$_UmCUPV1EvBeHiZpKveX_lMTlLE;
|
||||
.super Ljava/lang/Object;
|
||||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/b;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final synthetic f$0:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(J)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-wide p1, p0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$_UmCUPV1EvBeHiZpKveX_lMTlLE;->f$0:J
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 2
|
||||
|
||||
iget-wide v0, p0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$_UmCUPV1EvBeHiZpKveX_lMTlLE;->f$0:J
|
||||
|
||||
check-cast p1, Ljava/util/Set;
|
||||
|
||||
invoke-static {v0, v1, p1}, Lcom/discord/stores/StoreUserGuildSettings;->lambda$getHideMutedChannels$0(JLjava/util/Set;)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,46 +0,0 @@
|
|||
.class public final synthetic Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$mCtfaPvHPPMEZyCMQpNcbb2vtGg;
|
||||
.super Ljava/lang/Object;
|
||||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/b;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final synthetic INSTANCE:Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$mCtfaPvHPPMEZyCMQpNcbb2vtGg;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static synthetic constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$mCtfaPvHPPMEZyCMQpNcbb2vtGg;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$mCtfaPvHPPMEZyCMQpNcbb2vtGg;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$mCtfaPvHPPMEZyCMQpNcbb2vtGg;->INSTANCE:Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$mCtfaPvHPPMEZyCMQpNcbb2vtGg;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private synthetic constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
|
||||
invoke-static {p1}, Lcom/discord/stores/StoreUserGuildSettings;->lambda$null$4(Lcom/discord/models/domain/ModelUserGuildSettings;)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,42 +0,0 @@
|
|||
.class public final synthetic Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$xAuTarfGExPiAI2-XFgTbp3HIP4;
|
||||
.super Ljava/lang/Object;
|
||||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final synthetic f$0:Landroid/content/Context;
|
||||
|
||||
.field private final synthetic f$1:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Landroid/content/Context;I)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$xAuTarfGExPiAI2-XFgTbp3HIP4;->f$0:Landroid/content/Context;
|
||||
|
||||
iput p2, p0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$xAuTarfGExPiAI2-XFgTbp3HIP4;->f$1:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$xAuTarfGExPiAI2-XFgTbp3HIP4;->f$0:Landroid/content/Context;
|
||||
|
||||
iget v1, p0, Lcom/discord/stores/-$$Lambda$StoreUserGuildSettings$xAuTarfGExPiAI2-XFgTbp3HIP4;->f$1:I
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
|
||||
invoke-static {v0, v1, p1}, Lcom/discord/stores/StoreUserGuildSettings;->lambda$updateUserGuildSettings$6(Landroid/content/Context;ILcom/discord/models/domain/ModelUserGuildSettings;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -40,6 +40,14 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public final getScheduler()Lrx/Scheduler;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/Dispatcher;->scheduler:Lrx/Scheduler;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final onDispatchEnded()V
|
||||
.locals 2
|
||||
.annotation runtime Lcom/discord/stores/StoreThread;
|
||||
|
|
|
@ -1221,17 +1221,29 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreAnalytics;->stores:Lcom/discord/stores/StoreStream;
|
||||
const-string v1, "selectedVoiceChannel.guildId"
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreStream;->getVoiceStates$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreVoiceStates;
|
||||
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
move-result-object v1
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreVoiceStates;->getMediaStatesBlocking()Ljava/util/Map;
|
||||
move-result-wide v0
|
||||
|
||||
move-result-object v1
|
||||
iget-object v2, p0, Lcom/discord/stores/StoreAnalytics;->stores:Lcom/discord/stores/StoreStream;
|
||||
|
||||
invoke-interface {v1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-virtual {v2}, Lcom/discord/stores/StoreStream;->getVoiceStates$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreVoiceStates;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2}, Lcom/discord/stores/StoreVoiceStates;->getMediaStatesBlocking()Ljava/util/Map;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-interface {v2, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
|
|
@ -654,6 +654,8 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p0, Lcom/discord/stores/StoreAuthentication;->authToken:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, v0}, Lcom/discord/stores/StoreAuthentication;->setAuthed(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0}, Lcom/discord/stores/StoreAuthentication;->getPrefsSessionDurable()Landroid/content/SharedPreferences;
|
||||
|
|
|
@ -1168,7 +1168,7 @@
|
|||
.end method
|
||||
|
||||
.method public final handleChannelCreated(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.locals 11
|
||||
.locals 9
|
||||
.annotation runtime Lcom/discord/stores/StoreThread;
|
||||
.end annotation
|
||||
|
||||
|
@ -1205,72 +1205,94 @@
|
|||
move-result-object v0
|
||||
|
||||
:goto_0
|
||||
const-string v1, "if (!channel.isPrivate) \u2026 else PRIVATE_CHANNELS_ID"
|
||||
|
||||
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v1
|
||||
move-result-wide v2
|
||||
|
||||
iget-object v3, p0, Lcom/discord/stores/StoreChannels;->channels:Ljava/util/Map;
|
||||
iget-object v4, p0, Lcom/discord/stores/StoreChannels;->channels:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v3, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v3
|
||||
|
||||
const-string v4, "guildId"
|
||||
|
||||
if-nez v3, :cond_2
|
||||
|
||||
iget-object v3, p0, Lcom/discord/stores/StoreChannels;->channels:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v5, Ljava/util/HashMap;
|
||||
|
||||
invoke-direct {v5}, Ljava/util/HashMap;-><init>()V
|
||||
|
||||
invoke-interface {v3, v0, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:cond_2
|
||||
iget-object v3, p0, Lcom/discord/stores/StoreChannels;->channelIds:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v3, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v3
|
||||
|
||||
if-nez v3, :cond_3
|
||||
|
||||
iget-object v3, p0, Lcom/discord/stores/StoreChannels;->channelIds:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v5, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
invoke-interface {v3, v0, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:cond_3
|
||||
iget-object v3, p0, Lcom/discord/stores/StoreChannels;->channels:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v3, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Ljava/util/Map;
|
||||
|
||||
if-nez v3, :cond_4
|
||||
|
||||
new-instance v3, Ljava/util/HashMap;
|
||||
|
||||
invoke-direct {v3}, Ljava/util/HashMap;-><init>()V
|
||||
|
||||
check-cast v3, Ljava/util/Map;
|
||||
|
||||
:cond_4
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-interface {v3, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-interface {v4, v5}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-nez v4, :cond_2
|
||||
|
||||
iget-object v4, p0, Lcom/discord/stores/StoreChannels;->channels:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
new-instance v6, Ljava/util/HashMap;
|
||||
|
||||
invoke-direct {v6}, Ljava/util/HashMap;-><init>()V
|
||||
|
||||
invoke-interface {v4, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:cond_2
|
||||
iget-object v4, p0, Lcom/discord/stores/StoreChannels;->channelIds:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-interface {v4, v5}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-nez v4, :cond_3
|
||||
|
||||
iget-object v4, p0, Lcom/discord/stores/StoreChannels;->channelIds:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
new-instance v6, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
invoke-interface {v4, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:cond_3
|
||||
iget-object v4, p0, Lcom/discord/stores/StoreChannels;->channels:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-interface {v4, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
check-cast v4, Ljava/util/Map;
|
||||
|
||||
if-nez v4, :cond_4
|
||||
|
||||
new-instance v4, Ljava/util/HashMap;
|
||||
|
||||
invoke-direct {v4}, Ljava/util/HashMap;-><init>()V
|
||||
|
||||
check-cast v4, Ljava/util/Map;
|
||||
|
||||
:cond_4
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-interface {v4, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
|
@ -1288,67 +1310,59 @@
|
|||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
new-instance v8, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-static {v0, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v9
|
||||
|
||||
invoke-virtual {v5}, Lcom/discord/models/domain/ModelChannel;->getRecipients()Ljava/util/List;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-direct {v8, p1, v9, v10, v5}, Lcom/discord/models/domain/ModelChannel;-><init>(Lcom/discord/models/domain/ModelChannel;JLjava/util/List;)V
|
||||
invoke-direct {v8, p1, v0, v1, v5}, Lcom/discord/models/domain/ModelChannel;-><init>(Lcom/discord/models/domain/ModelChannel;JLjava/util/List;)V
|
||||
|
||||
invoke-interface {v3, v6, v8}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-interface {v4, v6, v8}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_5
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
new-instance v6, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-static {v0, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-direct {v6, p1, v0, v1}, Lcom/discord/models/domain/ModelChannel;-><init>(Lcom/discord/models/domain/ModelChannel;J)V
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v8
|
||||
|
||||
invoke-direct {v6, p1, v8, v9}, Lcom/discord/models/domain/ModelChannel;-><init>(Lcom/discord/models/domain/ModelChannel;J)V
|
||||
|
||||
invoke-interface {v3, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-interface {v4, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:cond_6
|
||||
:goto_1
|
||||
iget-object v3, p0, Lcom/discord/stores/StoreChannels;->channelIds:Ljava/util/Map;
|
||||
iget-object v4, p0, Lcom/discord/stores/StoreChannels;->channelIds:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v3, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Ljava/util/List;
|
||||
|
||||
if-nez v3, :cond_7
|
||||
|
||||
invoke-static {}, Lkotlin/a/m;->emptyList()Ljava/util/List;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
:cond_7
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-interface {v3, v5}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
|
||||
invoke-interface {v4, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
check-cast v4, Ljava/util/List;
|
||||
|
||||
if-nez v4, :cond_7
|
||||
|
||||
invoke-static {}, Lkotlin/a/m;->emptyList()Ljava/util/List;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
:cond_7
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-interface {v4, v5}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v5
|
||||
|
||||
|
@ -1356,28 +1370,30 @@
|
|||
|
||||
iget-object v5, p0, Lcom/discord/stores/StoreChannels;->channelIds:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
check-cast v3, Ljava/util/Collection;
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
check-cast v4, Ljava/util/Collection;
|
||||
|
||||
move-result-object v4
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
invoke-static {v3, v4}, Lkotlin/a/m;->plus(Ljava/util/Collection;Ljava/lang/Object;)Ljava/util/List;
|
||||
move-result-object v1
|
||||
|
||||
move-result-object v3
|
||||
invoke-static {v4, v1}, Lkotlin/a/m;->plus(Ljava/util/Collection;Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
invoke-interface {v5, v0, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
move-result-object v1
|
||||
|
||||
invoke-interface {v5, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:cond_8
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreChannels;->channelNames:Ljava/util/Map;
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v3
|
||||
move-result-object v1
|
||||
|
||||
invoke-interface {v0, v3}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||||
invoke-interface {v0, v1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
|
@ -1385,11 +1401,11 @@
|
|||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreChannels;->channelNames:Ljava/util/Map;
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v3
|
||||
move-result-object v1
|
||||
|
||||
invoke-interface {v0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
@ -1397,11 +1413,11 @@
|
|||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreChannels;->channelNames:Ljava/util/Map;
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v3
|
||||
move-result-object v1
|
||||
|
||||
invoke-interface {v0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
@ -1409,9 +1425,9 @@
|
|||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getName()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
move-result-object v1
|
||||
|
||||
invoke-static {v0, v3}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
|
@ -1422,7 +1438,7 @@
|
|||
:cond_9
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreChannels;->channelNames:Ljava/util/Map;
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
|
@ -1471,23 +1487,39 @@
|
|||
move-result-object v0
|
||||
|
||||
:goto_0
|
||||
const-string v1, "if (!channel.isPrivate) \u2026 else PRIVATE_CHANNELS_ID"
|
||||
|
||||
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v1
|
||||
move-result-wide v2
|
||||
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreChannels;->channels:Ljava/util/Map;
|
||||
|
||||
invoke-interface {p1, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-interface {p1, v4}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
const/4 v3, 0x1
|
||||
const/4 v4, 0x1
|
||||
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreChannels;->channels:Ljava/util/Map;
|
||||
|
||||
invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-interface {p1, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
@ -1498,11 +1530,11 @@
|
|||
:cond_1
|
||||
check-cast p1, Ljava/util/Map;
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v4
|
||||
move-result-object v5
|
||||
|
||||
invoke-interface {p1, v4}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||||
invoke-interface {p1, v5}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
|
@ -1510,7 +1542,11 @@
|
|||
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreChannels;->channels:Ljava/util/Map;
|
||||
|
||||
invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-interface {p1, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
@ -1521,18 +1557,22 @@
|
|||
:cond_2
|
||||
check-cast p1, Ljava/util/Map;
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v4
|
||||
move-result-object v5
|
||||
|
||||
invoke-interface {p1, v4}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-interface {p1, v5}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
iput-boolean v3, p0, Lcom/discord/stores/StoreChannels;->isDirty:Z
|
||||
iput-boolean v4, p0, Lcom/discord/stores/StoreChannels;->isDirty:Z
|
||||
|
||||
:cond_3
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreChannels;->channelIds:Ljava/util/Map;
|
||||
|
||||
invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-interface {p1, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
@ -1545,40 +1585,40 @@
|
|||
move-result-object p1
|
||||
|
||||
:cond_4
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-interface {p1, v4}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-eqz v4, :cond_5
|
||||
|
||||
iget-object v4, p0, Lcom/discord/stores/StoreChannels;->channelIds:Ljava/util/Map;
|
||||
|
||||
const-string v5, "guildId"
|
||||
|
||||
invoke-static {v0, v5}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Ljava/lang/Iterable;
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-static {p1, v5}, Lkotlin/a/m;->minus(Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/util/List;
|
||||
invoke-interface {p1, v5}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v5
|
||||
|
||||
if-eqz v5, :cond_5
|
||||
|
||||
iget-object v5, p0, Lcom/discord/stores/StoreChannels;->channelIds:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast p1, Ljava/lang/Iterable;
|
||||
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-static {p1, v1}, Lkotlin/a/m;->minus(Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-interface {v4, v0, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-interface {v5, v0, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
iput-boolean v3, p0, Lcom/discord/stores/StoreChannels;->isDirty:Z
|
||||
iput-boolean v4, p0, Lcom/discord/stores/StoreChannels;->isDirty:Z
|
||||
|
||||
:cond_5
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreChannels;->channelNames:Ljava/util/Map;
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
@ -1590,13 +1630,13 @@
|
|||
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreChannels;->channelNames:Ljava/util/Map;
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-interface {p1, v0}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
iput-boolean v3, p0, Lcom/discord/stores/StoreChannels;->isDirty:Z
|
||||
iput-boolean v4, p0, Lcom/discord/stores/StoreChannels;->isDirty:Z
|
||||
|
||||
:cond_6
|
||||
return-void
|
||||
|
@ -1958,7 +1998,7 @@
|
|||
.end method
|
||||
|
||||
.method public final handleGroupDMRecipient(Lcom/discord/models/domain/ModelChannel$Recipient;Z)V
|
||||
.locals 12
|
||||
.locals 13
|
||||
.annotation runtime Lcom/discord/stores/StoreThread;
|
||||
.end annotation
|
||||
|
||||
|
@ -2010,7 +2050,15 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
const-string v3, "recipient.user"
|
||||
const-string v3, "existing.guildId"
|
||||
|
||||
invoke-static {v0, v3}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v9
|
||||
|
||||
const-string v0, "recipient.user"
|
||||
|
||||
if-eqz p2, :cond_3
|
||||
|
||||
|
@ -2018,21 +2066,21 @@
|
|||
|
||||
invoke-virtual {v4}, Lcom/discord/models/domain/ModelChannel;->getRecipients()Ljava/util/List;
|
||||
|
||||
move-result-object v5
|
||||
move-result-object v3
|
||||
|
||||
check-cast v5, Ljava/util/Collection;
|
||||
check-cast v3, Ljava/util/Collection;
|
||||
|
||||
invoke-direct {p2, v5}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
||||
invoke-direct {p2, v3}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
||||
|
||||
check-cast p2, Ljava/util/List;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel$Recipient;->getUser()Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
move-result-object v5
|
||||
move-result-object v3
|
||||
|
||||
invoke-static {v5, v3}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {v3, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {p2, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
invoke-interface {p2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
:cond_2
|
||||
move-object v7, p2
|
||||
|
@ -2048,71 +2096,69 @@
|
|||
|
||||
invoke-virtual {v4}, Lcom/discord/models/domain/ModelChannel;->getRecipients()Ljava/util/List;
|
||||
|
||||
move-result-object v5
|
||||
move-result-object v3
|
||||
|
||||
invoke-interface {v5}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
||||
invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v5
|
||||
move-result-object v3
|
||||
|
||||
:cond_4
|
||||
:goto_0
|
||||
invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z
|
||||
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v6
|
||||
move-result v5
|
||||
|
||||
if-eqz v6, :cond_2
|
||||
if-eqz v5, :cond_2
|
||||
|
||||
invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v6
|
||||
move-result-object v5
|
||||
|
||||
check-cast v6, Lcom/discord/models/domain/ModelUser;
|
||||
check-cast v5, Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
const-string v7, "existingRecipient"
|
||||
const-string v6, "existingRecipient"
|
||||
|
||||
invoke-static {v6, v7}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {v5, v6}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v6}, Lcom/discord/models/domain/ModelUser;->getId()J
|
||||
invoke-virtual {v5}, Lcom/discord/models/domain/ModelUser;->getId()J
|
||||
|
||||
move-result-wide v7
|
||||
move-result-wide v6
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel$Recipient;->getUser()Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
move-result-object v9
|
||||
move-result-object v8
|
||||
|
||||
invoke-static {v9, v3}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {v8, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v9}, Lcom/discord/models/domain/ModelUser;->getId()J
|
||||
invoke-virtual {v8}, Lcom/discord/models/domain/ModelUser;->getId()J
|
||||
|
||||
move-result-wide v9
|
||||
move-result-wide v11
|
||||
|
||||
cmp-long v11, v7, v9
|
||||
cmp-long v8, v6, v11
|
||||
|
||||
if-eqz v11, :cond_4
|
||||
if-eqz v8, :cond_4
|
||||
|
||||
invoke-interface {p2, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
invoke-interface {p2, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:goto_1
|
||||
new-instance p2, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
const-string v3, "guildId"
|
||||
|
||||
invoke-static {v0, v3}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v5
|
||||
|
||||
move-object v3, p2
|
||||
|
||||
move-wide v5, v9
|
||||
|
||||
move-object v8, p1
|
||||
|
||||
invoke-direct/range {v3 .. v8}, Lcom/discord/models/domain/ModelChannel;-><init>(Lcom/discord/models/domain/ModelChannel;JLjava/util/List;Lcom/discord/models/domain/ModelChannel$Recipient;)V
|
||||
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreChannels;->channels:Ljava/util/Map;
|
||||
|
||||
invoke-static {v9, v10}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_4
|
||||
if-eqz v2, :cond_2
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
|
@ -96,17 +96,6 @@
|
|||
|
||||
move-result-object v4
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_1
|
||||
if-nez v4, :cond_2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {v4}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v4
|
||||
|
@ -115,13 +104,13 @@
|
|||
|
||||
cmp-long v8, v4, v6
|
||||
|
||||
if-nez v8, :cond_3
|
||||
if-nez v8, :cond_1
|
||||
|
||||
invoke-virtual {v3}, Lcom/discord/models/domain/ModelChannel;->isGuildTextChannel()Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-eqz v4, :cond_3
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
iget-object v4, p0, Lcom/discord/stores/StoreChannelsSelected$Selected$Companion$create$2;->$permissions:Ljava/util/Map;
|
||||
|
||||
|
@ -129,24 +118,23 @@
|
|||
|
||||
move-result v3
|
||||
|
||||
if-eqz v3, :cond_3
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
goto :goto_3
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
:goto_2
|
||||
:cond_1
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_3
|
||||
:goto_1
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
invoke-interface {v1, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_4
|
||||
:cond_2
|
||||
check-cast v1, Ljava/util/List;
|
||||
|
||||
check-cast v1, Ljava/lang/Iterable;
|
||||
|
|
|
@ -1161,14 +1161,17 @@
|
|||
.method public final set(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.locals 7
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
if-nez v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v2
|
||||
|
@ -1185,6 +1188,7 @@
|
|||
|
||||
invoke-virtual/range {v1 .. v6}, Lcom/discord/stores/StoreChannelsSelected;->set(JJI)V
|
||||
|
||||
:cond_0
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
invoke-direct {p0}, Lcom/discord/stores/Store;-><init>()V
|
||||
|
||||
const/16 v0, 0x3db
|
||||
const/16 v0, 0x3dd
|
||||
|
||||
iput v0, p0, Lcom/discord/stores/StoreClientVersion;->clientVersion:I
|
||||
|
||||
|
|
|
@ -532,11 +532,7 @@
|
|||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
move-object p2, p1
|
||||
|
||||
check-cast p2, Ljava/lang/Number;
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Number;->longValue()J
|
||||
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
|
@ -564,9 +560,11 @@
|
|||
:goto_1
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
check-cast p1, Ljava/lang/Number;
|
||||
const-string p2, "guildId"
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Number;->longValue()J
|
||||
invoke-static {p1, p2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide p1
|
||||
|
||||
|
|
|
@ -678,7 +678,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreUserGuildSettings;->getMuted()Lrx/Observable;
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreUserGuildSettings;->getMutedGuildIds()Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
|
|
|
@ -588,10 +588,28 @@
|
|||
.annotation runtime Lcom/discord/stores/StoreThread;
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreLurking;->lurkRequest:Lcom/discord/stores/StoreLurking$LurkRequest;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreLurking$LurkRequest;->getGuildId()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
cmp-long v2, p1, v0
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreLurking;->sessionId:Ljava/lang/String;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-object v0, p0, Lcom/discord/stores/StoreLurking;->lurkRequest:Lcom/discord/stores/StoreLurking$LurkRequest;
|
||||
|
||||
:cond_1
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreLurking;->lurkingGuildIds:Ljava/util/ArrayList;
|
||||
|
||||
check-cast v0, Ljava/lang/Iterable;
|
||||
|
@ -606,13 +624,13 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
:cond_0
|
||||
:cond_2
|
||||
:goto_0
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_2
|
||||
if-eqz v2, :cond_4
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
|
@ -628,23 +646,23 @@
|
|||
|
||||
cmp-long v5, v3, p1
|
||||
|
||||
if-eqz v5, :cond_1
|
||||
if-eqz v5, :cond_3
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
:cond_3
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_1
|
||||
if-eqz v3, :cond_0
|
||||
if-eqz v3, :cond_2
|
||||
|
||||
invoke-interface {v1, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
:cond_4
|
||||
check-cast v1, Ljava/util/List;
|
||||
|
||||
check-cast v1, Ljava/lang/Iterable;
|
||||
|
@ -659,13 +677,13 @@
|
|||
|
||||
move-result-object p2
|
||||
|
||||
:cond_3
|
||||
:cond_5
|
||||
:goto_2
|
||||
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_4
|
||||
if-eqz v0, :cond_6
|
||||
|
||||
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
|
@ -691,13 +709,13 @@
|
|||
|
||||
check-cast v0, Lcom/discord/models/domain/ModelGuild;
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
if-eqz v0, :cond_5
|
||||
|
||||
invoke-interface {p1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_4
|
||||
:cond_6
|
||||
check-cast p1, Ljava/util/List;
|
||||
|
||||
check-cast p1, Ljava/lang/Iterable;
|
||||
|
@ -711,7 +729,7 @@
|
|||
|
||||
move-result p2
|
||||
|
||||
if-eqz p2, :cond_5
|
||||
if-eqz p2, :cond_7
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
|
@ -727,7 +745,7 @@
|
|||
|
||||
goto :goto_3
|
||||
|
||||
:cond_5
|
||||
:cond_7
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreMediaNotification$init$3;->$context:Landroid/content/Context;
|
||||
|
||||
const v0, 0x7f1212dc
|
||||
const v0, 0x7f1212de
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
|
|
|
@ -1,155 +0,0 @@
|
|||
.class final synthetic Lcom/discord/stores/StoreMentions$init$1;
|
||||
.super Lkotlin/jvm/internal/j;
|
||||
.source "StoreMentions.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function3;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/stores/StoreMentions;->init(Landroid/content/Context;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1018
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/internal/j;",
|
||||
"Lkotlin/jvm/functions/Function3<",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"+",
|
||||
"Ljava/lang/Integer;",
|
||||
">;",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"+",
|
||||
"Ljava/lang/Integer;",
|
||||
">;",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"+",
|
||||
"Lcom/discord/stores/StoreMessageAck$Ack;",
|
||||
">;",
|
||||
"Lcom/discord/stores/StoreMentions$init$Tuple;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/stores/StoreMentions$init$1;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/stores/StoreMentions$init$1;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/stores/StoreMentions$init$1;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/stores/StoreMentions$init$1;->INSTANCE:Lcom/discord/stores/StoreMentions$init$1;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
invoke-direct {p0, v0}, Lkotlin/jvm/internal/j;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final getName()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "<init>"
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getOwner()Lkotlin/reflect/KDeclarationContainer;
|
||||
.locals 1
|
||||
|
||||
const-class v0, Lcom/discord/stores/StoreMentions$init$Tuple;
|
||||
|
||||
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getSignature()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "<init>(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)V"
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final invoke(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)Lcom/discord/stores/StoreMentions$init$Tuple;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Lcom/discord/stores/StoreMessageAck$Ack;",
|
||||
">;)",
|
||||
"Lcom/discord/stores/StoreMentions$init$Tuple;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "p1"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "p2"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "p3"
|
||||
|
||||
invoke-static {p3, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lcom/discord/stores/StoreMentions$init$Tuple;
|
||||
|
||||
invoke-direct {v0, p1, p2, p3}, Lcom/discord/stores/StoreMentions$init$Tuple;-><init>(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/util/Map;
|
||||
|
||||
check-cast p2, Ljava/util/Map;
|
||||
|
||||
check-cast p3, Ljava/util/Map;
|
||||
|
||||
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/stores/StoreMentions$init$1;->invoke(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)Lcom/discord/stores/StoreMentions$init$Tuple;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,106 +0,0 @@
|
|||
.class final Lcom/discord/stores/StoreMentions$init$2$1;
|
||||
.super Lkotlin/jvm/internal/m;
|
||||
.source "StoreMentions.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function0;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/stores/StoreMentions$init$2;->invoke(Lcom/discord/stores/StoreMentions$init$Tuple;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x18
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/internal/m;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic $channelPermissions:Ljava/util/Map;
|
||||
|
||||
.field final synthetic $messageAcks:Ljava/util/Map;
|
||||
|
||||
.field final synthetic $userRelationships:Ljava/util/Map;
|
||||
|
||||
.field final synthetic this$0:Lcom/discord/stores/StoreMentions$init$2;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lcom/discord/stores/StoreMentions$init$2;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/stores/StoreMentions$init$2$1;->this$0:Lcom/discord/stores/StoreMentions$init$2;
|
||||
|
||||
iput-object p2, p0, Lcom/discord/stores/StoreMentions$init$2$1;->$userRelationships:Ljava/util/Map;
|
||||
|
||||
iput-object p3, p0, Lcom/discord/stores/StoreMentions$init$2$1;->$channelPermissions:Ljava/util/Map;
|
||||
|
||||
iput-object p4, p0, Lcom/discord/stores/StoreMentions$init$2$1;->$messageAcks:Ljava/util/Map;
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final bridge synthetic invoke()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lcom/discord/stores/StoreMentions$init$2$1;->invoke()V
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->bgy:Lkotlin/Unit;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final invoke()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$init$2$1;->this$0:Lcom/discord/stores/StoreMentions$init$2;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/stores/StoreMentions$init$2;->this$0:Lcom/discord/stores/StoreMentions;
|
||||
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreMentions$init$2$1;->$userRelationships:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v1}, Lcom/discord/stores/StoreMentions;->access$setUserRelationships$p(Lcom/discord/stores/StoreMentions;Ljava/util/Map;)V
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$init$2$1;->this$0:Lcom/discord/stores/StoreMentions$init$2;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/stores/StoreMentions$init$2;->this$0:Lcom/discord/stores/StoreMentions;
|
||||
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreMentions$init$2$1;->$channelPermissions:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v1}, Lcom/discord/stores/StoreMentions;->access$setPermissions$p(Lcom/discord/stores/StoreMentions;Ljava/util/Map;)V
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$init$2$1;->this$0:Lcom/discord/stores/StoreMentions$init$2;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/stores/StoreMentions$init$2;->this$0:Lcom/discord/stores/StoreMentions;
|
||||
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreMentions$init$2$1;->$messageAcks:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v1}, Lcom/discord/stores/StoreMentions;->access$setAcks$p(Lcom/discord/stores/StoreMentions;Ljava/util/Map;)V
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$init$2$1;->this$0:Lcom/discord/stores/StoreMentions$init$2;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/stores/StoreMentions$init$2;->this$0:Lcom/discord/stores/StoreMentions;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-static {v0, v1}, Lcom/discord/stores/StoreMentions;->access$tryPublishMentionCounts(Lcom/discord/stores/StoreMentions;Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,91 +0,0 @@
|
|||
.class final Lcom/discord/stores/StoreMentions$init$2;
|
||||
.super Lkotlin/jvm/internal/m;
|
||||
.source "StoreMentions.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/stores/StoreMentions;->init(Landroid/content/Context;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x18
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/internal/m;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/discord/stores/StoreMentions$init$Tuple;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic this$0:Lcom/discord/stores/StoreMentions;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lcom/discord/stores/StoreMentions;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/stores/StoreMentions$init$2;->this$0:Lcom/discord/stores/StoreMentions;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/stores/StoreMentions$init$Tuple;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMentions$init$2;->invoke(Lcom/discord/stores/StoreMentions$init$Tuple;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->bgy:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final invoke(Lcom/discord/stores/StoreMentions$init$Tuple;)V
|
||||
.locals 4
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/stores/StoreMentions$init$Tuple;->component1()Ljava/util/Map;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/stores/StoreMentions$init$Tuple;->component2()Ljava/util/Map;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/stores/StoreMentions$init$Tuple;->component3()Ljava/util/Map;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object v2, p0, Lcom/discord/stores/StoreMentions$init$2;->this$0:Lcom/discord/stores/StoreMentions;
|
||||
|
||||
invoke-static {v2}, Lcom/discord/stores/StoreMentions;->access$getDispatcher$p(Lcom/discord/stores/StoreMentions;)Lcom/discord/stores/Dispatcher;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
new-instance v3, Lcom/discord/stores/StoreMentions$init$2$1;
|
||||
|
||||
invoke-direct {v3, p0, v0, v1, p1}, Lcom/discord/stores/StoreMentions$init$2$1;-><init>(Lcom/discord/stores/StoreMentions$init$2;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)V
|
||||
|
||||
check-cast v3, Lkotlin/jvm/functions/Function0;
|
||||
|
||||
invoke-virtual {v2, v3}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,417 +0,0 @@
|
|||
.class public final Lcom/discord/stores/StoreMentions$init$Tuple;
|
||||
.super Ljava/lang/Object;
|
||||
.source "StoreMentions.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/stores/StoreMentions;->init(Landroid/content/Context;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Tuple"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final channelPermissions:Ljava/util/Map;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field private final messageAcks:Ljava/util/Map;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Lcom/discord/stores/StoreMessageAck$Ack;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field private final userRelationships:Ljava/util/Map;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Lcom/discord/stores/StoreMessageAck$Ack;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "userRelationships"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "channelPermissions"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "messageAcks"
|
||||
|
||||
invoke-static {p3, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->userRelationships:Ljava/util/Map;
|
||||
|
||||
iput-object p2, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->channelPermissions:Ljava/util/Map;
|
||||
|
||||
iput-object p3, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->messageAcks:Ljava/util/Map;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static synthetic copy$default(Lcom/discord/stores/StoreMentions$init$Tuple;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;ILjava/lang/Object;)Lcom/discord/stores/StoreMentions$init$Tuple;
|
||||
.locals 0
|
||||
|
||||
and-int/lit8 p5, p4, 0x1
|
||||
|
||||
if-eqz p5, :cond_0
|
||||
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->userRelationships:Ljava/util/Map;
|
||||
|
||||
:cond_0
|
||||
and-int/lit8 p5, p4, 0x2
|
||||
|
||||
if-eqz p5, :cond_1
|
||||
|
||||
iget-object p2, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->channelPermissions:Ljava/util/Map;
|
||||
|
||||
:cond_1
|
||||
and-int/lit8 p4, p4, 0x4
|
||||
|
||||
if-eqz p4, :cond_2
|
||||
|
||||
iget-object p3, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->messageAcks:Ljava/util/Map;
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/stores/StoreMentions$init$Tuple;->copy(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)Lcom/discord/stores/StoreMentions$init$Tuple;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final component1()Ljava/util/Map;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->userRelationships:Ljava/util/Map;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final component2()Ljava/util/Map;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->channelPermissions:Ljava/util/Map;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final component3()Ljava/util/Map;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Lcom/discord/stores/StoreMessageAck$Ack;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->messageAcks:Ljava/util/Map;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final copy(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)Lcom/discord/stores/StoreMentions$init$Tuple;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Lcom/discord/stores/StoreMessageAck$Ack;",
|
||||
">;)",
|
||||
"Lcom/discord/stores/StoreMentions$init$Tuple;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "userRelationships"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "channelPermissions"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "messageAcks"
|
||||
|
||||
invoke-static {p3, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lcom/discord/stores/StoreMentions$init$Tuple;
|
||||
|
||||
invoke-direct {v0, p1, p2, p3}, Lcom/discord/stores/StoreMentions$init$Tuple;-><init>(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final equals(Ljava/lang/Object;)Z
|
||||
.locals 2
|
||||
|
||||
if-eq p0, p1, :cond_1
|
||||
|
||||
instance-of v0, p1, Lcom/discord/stores/StoreMentions$init$Tuple;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast p1, Lcom/discord/stores/StoreMentions$init$Tuple;
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->userRelationships:Ljava/util/Map;
|
||||
|
||||
iget-object v1, p1, Lcom/discord/stores/StoreMentions$init$Tuple;->userRelationships:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->channelPermissions:Ljava/util/Map;
|
||||
|
||||
iget-object v1, p1, Lcom/discord/stores/StoreMentions$init$Tuple;->channelPermissions:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->messageAcks:Ljava/util/Map;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/stores/StoreMentions$init$Tuple;->messageAcks:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, p1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final getChannelPermissions()Ljava/util/Map;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->channelPermissions:Ljava/util/Map;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getMessageAcks()Ljava/util/Map;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Lcom/discord/stores/StoreMessageAck$Ack;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->messageAcks:Ljava/util/Map;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getUserRelationships()Ljava/util/Map;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->userRelationships:Ljava/util/Map;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final hashCode()I
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->userRelationships:Ljava/util/Map;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-object v2, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->channelPermissions:Ljava/util/Map;
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_1
|
||||
add-int/2addr v0, v2
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-object v2, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->messageAcks:Ljava/util/Map;
|
||||
|
||||
if-eqz v2, :cond_2
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v1
|
||||
|
||||
:cond_2
|
||||
add-int/2addr v0, v1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, "Tuple(userRelationships="
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->userRelationships:Ljava/util/Map;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", channelPermissions="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->channelPermissions:Ljava/util/Map;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", messageAcks="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreMentions$init$Tuple;->messageAcks:Ljava/util/Map;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ")"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,36 +0,0 @@
|
|||
.class final Lcom/discord/stores/StoreMentions$sam$rx_functions_Func3$0;
|
||||
.super Ljava/lang/Object;
|
||||
.source "StoreMentions.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Func3;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final synthetic function:Lkotlin/jvm/functions/Function3;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lkotlin/jvm/functions/Function3;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lcom/discord/stores/StoreMentions$sam$rx_functions_Func3$0;->function:Lkotlin/jvm/functions/Function3;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final synthetic call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMentions$sam$rx_functions_Func3$0;->function:Lkotlin/jvm/functions/Function3;
|
||||
|
||||
invoke-interface {v0, p1, p2, p3}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
File diff suppressed because it is too large
Load diff
|
@ -307,17 +307,7 @@
|
|||
|
||||
iget-wide v3, v3, Lcom/discord/stores/StoreMessageAck$markUnread$2;->$channelId:J
|
||||
|
||||
iget-object v5, p0, Lcom/discord/stores/StoreMessageAck$markUnread$2$1;->this$0:Lcom/discord/stores/StoreMessageAck$markUnread$2;
|
||||
|
||||
iget-object v5, v5, Lcom/discord/stores/StoreMessageAck$markUnread$2;->this$0:Lcom/discord/stores/StoreMessageAck;
|
||||
|
||||
invoke-static {v5}, Lcom/discord/stores/StoreMessageAck;->access$getAcks$p(Lcom/discord/stores/StoreMessageAck;)Ljava/util/HashMap;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
check-cast v5, Ljava/util/Map;
|
||||
|
||||
invoke-virtual {v2, v3, v4, v1, v5}, Lcom/discord/stores/StoreMentions;->processMarkUnread(JLjava/util/List;Ljava/util/Map;)I
|
||||
invoke-virtual {v2, v3, v4, v1}, Lcom/discord/stores/StoreMentions;->processMarkUnread$app_productionDiscordExternalRelease(JLjava/util/List;)I
|
||||
|
||||
move-result v1
|
||||
|
||||
|
|
|
@ -89,14 +89,6 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final synthetic access$getAcks$p(Lcom/discord/stores/StoreMessageAck;)Ljava/util/HashMap;
|
||||
.locals 0
|
||||
|
||||
iget-object p0, p0, Lcom/discord/stores/StoreMessageAck;->acks:Ljava/util/HashMap;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final synthetic access$getDispatcher$p(Lcom/discord/stores/StoreMessageAck;)Lcom/discord/stores/Dispatcher;
|
||||
.locals 0
|
||||
|
||||
|
@ -493,6 +485,23 @@
|
|||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final getAcks$app_productionDiscordExternalRelease()Ljava/util/HashMap;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Ljava/util/HashMap<",
|
||||
"Ljava/lang/Long;",
|
||||
"Lcom/discord/stores/StoreMessageAck$Ack;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreMessageAck;->acks:Ljava/util/HashMap;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final handleChannelSelected()V
|
||||
.locals 8
|
||||
.annotation runtime Lcom/discord/stores/StoreThread;
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
|
||||
aput-object v2, v0, v3
|
||||
|
||||
const v2, 0x7f12119c
|
||||
const v2, 0x7f12119e
|
||||
|
||||
invoke-virtual {p1, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -820,11 +820,9 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
iget-object v12, v1, Lcom/discord/stores/StoreUserGuildSettings;->guildSettings:Ljava/util/Map;
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreUserGuildSettings;->getGuildSettings$app_productionDiscordExternalRelease()Ljava/util/Map;
|
||||
|
||||
const-string v1, "stream.guildSettings.guildSettings"
|
||||
|
||||
invoke-static {v12, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
move-result-object v12
|
||||
|
||||
move-object v7, p1
|
||||
|
||||
|
|
|
@ -48,6 +48,17 @@
|
|||
.end annotation
|
||||
.end field
|
||||
|
||||
.field private permissionsForChannels:Ljava/util/Map;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field private final permissionsForGuild:Ljava/util/Map;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -118,6 +129,14 @@
|
|||
|
||||
iput-object p1, p0, Lcom/discord/stores/StorePermissions;->permissionsForChannel:Ljava/util/Map;
|
||||
|
||||
new-instance p1, Ljava/util/HashMap;
|
||||
|
||||
invoke-direct {p1}, Ljava/util/HashMap;-><init>()V
|
||||
|
||||
check-cast p1, Ljava/util/Map;
|
||||
|
||||
iput-object p1, p0, Lcom/discord/stores/StorePermissions;->permissionsForChannels:Ljava/util/Map;
|
||||
|
||||
new-instance p1, Lcom/discord/utilities/persister/Persister;
|
||||
|
||||
new-instance p2, Ljava/util/HashMap;
|
||||
|
@ -795,6 +814,23 @@
|
|||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getPermissionsForChannels$app_productionDiscordExternalRelease()Ljava/util/Map;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StorePermissions;->permissionsForChannels:Ljava/util/Map;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getPermissionsForGuild$app_productionDiscordExternalRelease()Ljava/util/Map;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -838,28 +874,32 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lcom/discord/stores/StorePermissions;->permissionsForChannel:Ljava/util/Map;
|
||||
const-string v1, "channel.guildId"
|
||||
|
||||
const-string v2, "guildId"
|
||||
|
||||
invoke-static {v0, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {v1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-nez v1, :cond_1
|
||||
|
||||
invoke-static {}, Lkotlin/a/ad;->emptyMap()Ljava/util/Map;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:cond_1
|
||||
check-cast v1, Ljava/util/Map;
|
||||
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v2
|
||||
move-result-wide v0
|
||||
|
||||
iget-object v2, p0, Lcom/discord/stores/StorePermissions;->permissionsForChannel:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-interface {v2, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
if-nez v2, :cond_1
|
||||
|
||||
invoke-static {}, Lkotlin/a/ad;->emptyMap()Ljava/util/Map;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
:cond_1
|
||||
check-cast v2, Ljava/util/Map;
|
||||
|
||||
invoke-static {p1}, Lkotlin/a/m;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
|
@ -867,17 +907,21 @@
|
|||
|
||||
check-cast p1, Ljava/lang/Iterable;
|
||||
|
||||
invoke-direct {p0, v2, v3, p1}, Lcom/discord/stores/StorePermissions;->computeChannelPermissions(JLjava/lang/Iterable;)Ljava/util/Map;
|
||||
invoke-direct {p0, v0, v1, p1}, Lcom/discord/stores/StorePermissions;->computeChannelPermissions(JLjava/lang/Iterable;)Ljava/util/Map;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object v2, p0, Lcom/discord/stores/StorePermissions;->permissionsForChannel:Ljava/util/Map;
|
||||
iget-object v3, p0, Lcom/discord/stores/StorePermissions;->permissionsForChannel:Ljava/util/Map;
|
||||
|
||||
invoke-static {v1, p1}, Lkotlin/a/ad;->plus(Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v2, p1}, Lkotlin/a/ad;->plus(Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-interface {v2, v0, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-interface {v3, v0, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -887,7 +931,7 @@
|
|||
.end method
|
||||
|
||||
.method public final handleChannelDeleted(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.locals 5
|
||||
.locals 6
|
||||
.annotation runtime Lcom/discord/stores/StoreThread;
|
||||
.end annotation
|
||||
|
||||
|
@ -899,40 +943,52 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lcom/discord/stores/StorePermissions;->permissionsForChannel:Ljava/util/Map;
|
||||
const-string v1, "channel.guildId"
|
||||
|
||||
const-string v2, "guildId"
|
||||
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v0, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
invoke-interface {v1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
invoke-static {}, Lkotlin/a/ad;->emptyMap()Ljava/util/Map;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:cond_0
|
||||
check-cast v1, Ljava/util/Map;
|
||||
move-result-wide v0
|
||||
|
||||
iget-object v2, p0, Lcom/discord/stores/StorePermissions;->permissionsForChannel:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-interface {v2, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
invoke-static {}, Lkotlin/a/ad;->emptyMap()Ljava/util/Map;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
:cond_0
|
||||
check-cast v2, Ljava/util/Map;
|
||||
|
||||
iget-object v3, p0, Lcom/discord/stores/StorePermissions;->permissionsForChannel:Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v3
|
||||
move-result-wide v4
|
||||
|
||||
invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {v1, p1}, Lkotlin/a/ad;->minus(Ljava/util/Map;Ljava/lang/Object;)Ljava/util/Map;
|
||||
invoke-static {v2, p1}, Lkotlin/a/ad;->minus(Ljava/util/Map;Ljava/lang/Object;)Ljava/util/Map;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-interface {v2, v0, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-interface {v3, v0, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -1297,6 +1353,12 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
move-object v2, v0
|
||||
|
||||
check-cast v2, Ljava/util/Map;
|
||||
|
||||
iput-object v2, p0, Lcom/discord/stores/StorePermissions;->permissionsForChannels:Ljava/util/Map;
|
||||
|
||||
iget-object v2, p0, Lcom/discord/stores/StorePermissions;->permissionsForChannelPublisher:Lcom/discord/utilities/persister/Persister;
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
@ -1311,3 +1373,24 @@
|
|||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final setPermissionsForChannels$app_productionDiscordExternalRelease(Ljava/util/Map;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "<set-?>"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, p0, Lcom/discord/stores/StorePermissions;->permissionsForChannels:Ljava/util/Map;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -439,11 +439,7 @@
|
|||
|
||||
if-eqz v2, :cond_2
|
||||
|
||||
move-object v3, v2
|
||||
|
||||
check-cast v3, Ljava/lang/Number;
|
||||
|
||||
invoke-virtual {v3}, Ljava/lang/Number;->longValue()J
|
||||
invoke-virtual {v2}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
|
@ -1241,11 +1237,7 @@
|
|||
|
||||
if-eqz v0, :cond_6
|
||||
|
||||
move-object v4, v0
|
||||
|
||||
check-cast v4, Ljava/lang/Number;
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/Number;->longValue()J
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v4
|
||||
|
||||
|
|
|
@ -250,18 +250,6 @@
|
|||
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreStream$deferredInit$1;->this$0:Lcom/discord/stores/StoreStream;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreStream;->getMentions$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreMentions;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget-object v2, p0, Lcom/discord/stores/StoreStream$deferredInit$1;->$context:Landroid/app/Application;
|
||||
|
||||
check-cast v2, Landroid/content/Context;
|
||||
|
||||
invoke-virtual {v1, v2}, Lcom/discord/stores/StoreMentions;->init(Landroid/content/Context;)V
|
||||
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreStream$deferredInit$1;->this$0:Lcom/discord/stores/StoreStream;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreStream;->getNotifications$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreNotifications;
|
||||
|
||||
move-result-object v1
|
||||
|
|
|
@ -56,6 +56,8 @@
|
|||
|
||||
.field private final clientVersion:Lcom/discord/stores/StoreClientVersion;
|
||||
|
||||
.field private final clock:Lcom/discord/utilities/clocks/Clock;
|
||||
|
||||
.field private final connectivity:Lcom/discord/stores/StoreConnectivity;
|
||||
|
||||
.field private final customEmojis:Lcom/discord/stores/StoreEmojiCustom;
|
||||
|
@ -233,7 +235,7 @@
|
|||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 5
|
||||
.locals 7
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -273,6 +275,14 @@
|
|||
|
||||
iput-object v0, p0, Lcom/discord/stores/StoreStream;->dispatcher:Lcom/discord/stores/Dispatcher;
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/clocks/SystemClock;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/clocks/SystemClock;-><init>()V
|
||||
|
||||
check-cast v0, Lcom/discord/utilities/clocks/Clock;
|
||||
|
||||
iput-object v0, p0, Lcom/discord/stores/StoreStream;->clock:Lcom/discord/utilities/clocks/Clock;
|
||||
|
||||
new-instance v0, Lcom/discord/stores/StoreAuthentication;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/stores/StoreAuthentication;-><init>()V
|
||||
|
@ -413,7 +423,11 @@
|
|||
|
||||
new-instance v0, Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/stores/StoreUserGuildSettings;-><init>()V
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreStream;->dispatcher:Lcom/discord/stores/Dispatcher;
|
||||
|
||||
iget-object v2, p0, Lcom/discord/stores/StoreStream;->clock:Lcom/discord/utilities/clocks/Clock;
|
||||
|
||||
invoke-direct {v0, v1, v2}, Lcom/discord/stores/StoreUserGuildSettings;-><init>(Lcom/discord/stores/Dispatcher;Lcom/discord/utilities/clocks/Clock;)V
|
||||
|
||||
iput-object v0, p0, Lcom/discord/stores/StoreStream;->guildSettings:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
|
@ -591,9 +605,19 @@
|
|||
|
||||
new-instance v0, Lcom/discord/stores/StoreMentions;
|
||||
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreStream;->dispatcher:Lcom/discord/stores/Dispatcher;
|
||||
iget-object v2, p0, Lcom/discord/stores/StoreStream;->dispatcher:Lcom/discord/stores/Dispatcher;
|
||||
|
||||
invoke-direct {v0, p0, v1}, Lcom/discord/stores/StoreMentions;-><init>(Lcom/discord/stores/StoreStream;Lcom/discord/stores/Dispatcher;)V
|
||||
iget-object v3, p0, Lcom/discord/stores/StoreStream;->userRelationships:Lcom/discord/stores/StoreUserRelationships;
|
||||
|
||||
iget-object v4, p0, Lcom/discord/stores/StoreStream;->permissions:Lcom/discord/stores/StorePermissions;
|
||||
|
||||
iget-object v5, p0, Lcom/discord/stores/StoreStream;->messageAck:Lcom/discord/stores/StoreMessageAck;
|
||||
|
||||
iget-object v6, p0, Lcom/discord/stores/StoreStream;->guildSettings:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
move-object v1, v0
|
||||
|
||||
invoke-direct/range {v1 .. v6}, Lcom/discord/stores/StoreMentions;-><init>(Lcom/discord/stores/Dispatcher;Lcom/discord/stores/StoreUserRelationships;Lcom/discord/stores/StorePermissions;Lcom/discord/stores/StoreMessageAck;Lcom/discord/stores/StoreUserGuildSettings;)V
|
||||
|
||||
iput-object v0, p0, Lcom/discord/stores/StoreStream;->mentions:Lcom/discord/stores/StoreMentions;
|
||||
|
||||
|
@ -2765,7 +2789,7 @@
|
|||
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreStream;->guildSettings:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
invoke-virtual {v1, p1}, Lcom/discord/stores/StoreUserGuildSettings;->handleConnectionOpen(Lcom/discord/models/domain/ModelPayload;)V
|
||||
invoke-virtual {v1, p1}, Lcom/discord/stores/StoreUserGuildSettings;->handleConnectionOpen$app_productionDiscordExternalRelease(Lcom/discord/models/domain/ModelPayload;)V
|
||||
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreStream;->lurking:Lcom/discord/stores/StoreLurking;
|
||||
|
||||
|
@ -3458,11 +3482,7 @@
|
|||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreStream;->guildSettings:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/discord/stores/StoreUserGuildSettings;->handleGuildSettingUpdated(Ljava/util/List;)V
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreStream;->mentions:Lcom/discord/stores/StoreMentions;
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/discord/stores/StoreMentions;->handleGuildSettingUpdated(Ljava/util/List;)V
|
||||
invoke-virtual {v0, p1}, Lcom/discord/stores/StoreUserGuildSettings;->handleGuildSettingUpdated$app_productionDiscordExternalRelease(Ljava/util/List;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -5033,7 +5053,7 @@
|
|||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreStream;->dispatcher:Lcom/discord/stores/Dispatcher;
|
||||
|
||||
const/16 v1, 0x23
|
||||
const/16 v1, 0x24
|
||||
|
||||
new-array v1, v1, [Lcom/discord/stores/DispatchHandler;
|
||||
|
||||
|
@ -5309,7 +5329,7 @@
|
|||
|
||||
aput-object v2, v1, v3
|
||||
|
||||
iget-object v2, p0, Lcom/discord/stores/StoreStream;->entitlements:Lcom/discord/stores/StoreEntitlements;
|
||||
iget-object v2, p0, Lcom/discord/stores/StoreStream;->mentions:Lcom/discord/stores/StoreMentions;
|
||||
|
||||
check-cast v2, Lcom/discord/stores/DispatchHandler;
|
||||
|
||||
|
@ -5317,6 +5337,14 @@
|
|||
|
||||
aput-object v2, v1, v3
|
||||
|
||||
iget-object v2, p0, Lcom/discord/stores/StoreStream;->guildSettings:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
check-cast v2, Lcom/discord/stores/DispatchHandler;
|
||||
|
||||
const/16 v3, 0x23
|
||||
|
||||
aput-object v2, v1, v3
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/stores/Dispatcher;->registerDispatchHandlers([Lcom/discord/stores/DispatchHandler;)V
|
||||
|
||||
return-void
|
||||
|
|
|
@ -0,0 +1,96 @@
|
|||
.class final Lcom/discord/stores/StoreUserGuildSettings$get$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "StoreUserGuildSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/stores/StoreUserGuildSettings;->get(J)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<",
|
||||
"TT;TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic $guildId:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(J)V
|
||||
.locals 0
|
||||
|
||||
iput-wide p1, p0, Lcom/discord/stores/StoreUserGuildSettings$get$1;->$guildId:J
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/util/Map;)Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"+",
|
||||
"Lcom/discord/models/domain/ModelUserGuildSettings;",
|
||||
">;)",
|
||||
"Lcom/discord/models/domain/ModelUserGuildSettings;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-wide v0, p0, Lcom/discord/stores/StoreUserGuildSettings$get$1;->$guildId:J
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
new-instance p1, Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
|
||||
invoke-direct {p1}, Lcom/discord/models/domain/ModelUserGuildSettings;-><init>()V
|
||||
|
||||
:cond_0
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/util/Map;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserGuildSettings$get$1;->call(Ljava/util/Map;)Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,88 @@
|
|||
.class final Lcom/discord/stores/StoreUserGuildSettings$getHideMutedChannels$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "StoreUserGuildSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/stores/StoreUserGuildSettings;->getHideMutedChannels(J)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<",
|
||||
"TT;TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic $guildId:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(J)V
|
||||
.locals 0
|
||||
|
||||
iput-wide p1, p0, Lcom/discord/stores/StoreUserGuildSettings$getHideMutedChannels$1;->$guildId:J
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/util/Set;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserGuildSettings$getHideMutedChannels$1;->call(Ljava/util/Set;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final call(Ljava/util/Set;)Z
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Set<",
|
||||
"Ljava/lang/Long;",
|
||||
">;)Z"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-wide v0, p0, Lcom/discord/stores/StoreUserGuildSettings$getHideMutedChannels$1;->$guildId:J
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-interface {p1, v0}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
|
@ -0,0 +1,84 @@
|
|||
.class final Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$1;
|
||||
.super Lkotlin/jvm/internal/m;
|
||||
.source "StoreUserGuildSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/stores/StoreUserGuildSettings;->handleGuildSettings(Ljava/util/List;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x18
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/internal/m;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lrx/Subscription;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic this$0:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lcom/discord/stores/StoreUserGuildSettings;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$1;->this$0:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lrx/Subscription;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$1;->invoke(Lrx/Subscription;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->bgy:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final invoke(Lrx/Subscription;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "subscription"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$1;->this$0:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
invoke-static {v0}, Lcom/discord/stores/StoreUserGuildSettings;->access$getRecomputeSettingsSubscription$p(Lcom/discord/stores/StoreUserGuildSettings;)Lrx/Subscription;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-interface {v0}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$1;->this$0:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
invoke-static {v0, p1}, Lcom/discord/stores/StoreUserGuildSettings;->access$setRecomputeSettingsSubscription$p(Lcom/discord/stores/StoreUserGuildSettings;Lrx/Subscription;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,68 @@
|
|||
.class final Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2$1;
|
||||
.super Lkotlin/jvm/internal/m;
|
||||
.source "StoreUserGuildSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function0;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2;->invoke(Ljava/lang/Long;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x18
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/internal/m;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic this$0:Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2$1;->this$0:Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2;
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final bridge synthetic invoke()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2$1;->invoke()V
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->bgy:Lkotlin/Unit;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final invoke()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2$1;->this$0:Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2;->this$0:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
invoke-static {v0}, Lcom/discord/stores/StoreUserGuildSettings;->access$recomputeMuteConfigs(Lcom/discord/stores/StoreUserGuildSettings;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,79 @@
|
|||
.class final Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2;
|
||||
.super Lkotlin/jvm/internal/m;
|
||||
.source "StoreUserGuildSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/stores/StoreUserGuildSettings;->handleGuildSettings(Ljava/util/List;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x18
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/internal/m;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Ljava/lang/Long;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic this$0:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lcom/discord/stores/StoreUserGuildSettings;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2;->this$0:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/lang/Long;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2;->invoke(Ljava/lang/Long;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->bgy:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final invoke(Ljava/lang/Long;)V
|
||||
.locals 1
|
||||
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2;->this$0:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
invoke-static {p1}, Lcom/discord/stores/StoreUserGuildSettings;->access$getDispatcher$p(Lcom/discord/stores/StoreUserGuildSettings;)Lcom/discord/stores/Dispatcher;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance v0, Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2$1;
|
||||
|
||||
invoke-direct {v0, p0}, Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2$1;-><init>(Lcom/discord/stores/StoreUserGuildSettings$handleGuildSettings$2;)V
|
||||
|
||||
check-cast v0, Lkotlin/jvm/functions/Function0;
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/stores/Dispatcher;->schedule(Lkotlin/jvm/functions/Function0;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,90 @@
|
|||
.class final Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "StoreUserGuildSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1;->call(Ljava/util/Map;)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<",
|
||||
"Lcom/discord/models/domain/ModelUserGuildSettings;",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$1;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$1;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$1;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$1;->INSTANCE:Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$1;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$1;->call(Lcom/discord/models/domain/ModelUserGuildSettings;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final call(Lcom/discord/models/domain/ModelUserGuildSettings;)Z
|
||||
.locals 1
|
||||
|
||||
const-string v0, "setting"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUserGuildSettings;->isMuted()Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
|
@ -0,0 +1,88 @@
|
|||
.class final Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "StoreUserGuildSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1;->call(Ljava/util/Map;)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<",
|
||||
"TT;TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$2;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$2;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$2;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$2;->INSTANCE:Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$2;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Lcom/discord/models/domain/ModelUserGuildSettings;)J
|
||||
.locals 2
|
||||
|
||||
const-string v0, "setting"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUserGuildSettings;->getGuildId()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public final synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 2
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$2;->call(Lcom/discord/models/domain/ModelUserGuildSettings;)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,124 @@
|
|||
.class final Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "StoreUserGuildSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/stores/StoreUserGuildSettings;->getMutedGuildIds()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<",
|
||||
"TT;",
|
||||
"Lrx/Observable<",
|
||||
"+TR;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1;->INSTANCE:Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/util/Map;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1;->call(Ljava/util/Map;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final call(Ljava/util/Map;)Lrx/Observable;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"+",
|
||||
"Lcom/discord/models/domain/ModelUserGuildSettings;",
|
||||
">;)",
|
||||
"Lrx/Observable<",
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/Long;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Map;->values()Ljava/util/Collection;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Ljava/lang/Iterable;
|
||||
|
||||
invoke-static {p1}, Lrx/Observable;->m(Ljava/lang/Iterable;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object v0, Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$1;->INSTANCE:Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$1;
|
||||
|
||||
check-cast v0, Lrx/functions/b;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Observable;->b(Lrx/functions/b;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object v0, Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$2;->INSTANCE:Lcom/discord/stores/StoreUserGuildSettings$mutedGuildIds$1$2;
|
||||
|
||||
check-cast v0, Lrx/functions/b;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Observable;->e(Lrx/functions/b;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object v0, Lrx/internal/a/ba$a;->bKX:Lrx/internal/a/ba;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Observable;->a(Lrx/Observable$b;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,128 @@
|
|||
.class final Lcom/discord/stores/StoreUserGuildSettings$setHideMutedChannels$1;
|
||||
.super Lkotlin/jvm/internal/m;
|
||||
.source "StoreUserGuildSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function0;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/stores/StoreUserGuildSettings;->setHideMutedChannels(JZ)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x18
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/internal/m;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic $guildId:J
|
||||
|
||||
.field final synthetic $hideChannels:Z
|
||||
|
||||
.field final synthetic this$0:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lcom/discord/stores/StoreUserGuildSettings;ZJ)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/stores/StoreUserGuildSettings$setHideMutedChannels$1;->this$0:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
iput-boolean p2, p0, Lcom/discord/stores/StoreUserGuildSettings$setHideMutedChannels$1;->$hideChannels:Z
|
||||
|
||||
iput-wide p3, p0, Lcom/discord/stores/StoreUserGuildSettings$setHideMutedChannels$1;->$guildId:J
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final bridge synthetic invoke()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lcom/discord/stores/StoreUserGuildSettings$setHideMutedChannels$1;->invoke()V
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->bgy:Lkotlin/Unit;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final invoke()V
|
||||
.locals 3
|
||||
|
||||
iget-boolean v0, p0, Lcom/discord/stores/StoreUserGuildSettings$setHideMutedChannels$1;->$hideChannels:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreUserGuildSettings$setHideMutedChannels$1;->this$0:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
invoke-static {v0}, Lcom/discord/stores/StoreUserGuildSettings;->access$getShowHideMutedChannels$p(Lcom/discord/stores/StoreUserGuildSettings;)Ljava/util/HashSet;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-wide v1, p0, Lcom/discord/stores/StoreUserGuildSettings$setHideMutedChannels$1;->$guildId:J
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreUserGuildSettings$setHideMutedChannels$1;->this$0:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
invoke-static {v0}, Lcom/discord/stores/StoreUserGuildSettings;->access$getShowHideMutedChannels$p(Lcom/discord/stores/StoreUserGuildSettings;)Ljava/util/HashSet;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-wide v1, p0, Lcom/discord/stores/StoreUserGuildSettings$setHideMutedChannels$1;->$guildId:J
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->remove(Ljava/lang/Object;)Z
|
||||
|
||||
:goto_0
|
||||
iget-object v0, p0, Lcom/discord/stores/StoreUserGuildSettings$setHideMutedChannels$1;->this$0:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
invoke-static {v0}, Lcom/discord/stores/StoreUserGuildSettings;->access$getHideMutedChannelsPublisher$p(Lcom/discord/stores/StoreUserGuildSettings;)Lcom/discord/utilities/persister/Persister;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Ljava/util/HashSet;
|
||||
|
||||
iget-object v2, p0, Lcom/discord/stores/StoreUserGuildSettings$setHideMutedChannels$1;->this$0:Lcom/discord/stores/StoreUserGuildSettings;
|
||||
|
||||
invoke-static {v2}, Lcom/discord/stores/StoreUserGuildSettings;->access$getShowHideMutedChannels$p(Lcom/discord/stores/StoreUserGuildSettings;)Ljava/util/HashSet;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Ljava/util/Collection;
|
||||
|
||||
invoke-direct {v1, v2}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lcom/discord/utilities/persister/Persister;->set(Ljava/lang/Object;Z)Ljava/lang/Object;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,83 @@
|
|||
.class final Lcom/discord/stores/StoreUserGuildSettings$updateUserGuildSettings$1;
|
||||
.super Lkotlin/jvm/internal/m;
|
||||
.source "StoreUserGuildSettings.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/stores/StoreUserGuildSettings;->updateUserGuildSettings(Landroid/content/Context;JLcom/discord/restapi/RestAPIParams$UserGuildSettings;I)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x18
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/internal/m;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/discord/models/domain/ModelUserGuildSettings;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic $context:Landroid/content/Context;
|
||||
|
||||
.field final synthetic $successString:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Landroid/content/Context;I)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/stores/StoreUserGuildSettings$updateUserGuildSettings$1;->$context:Landroid/content/Context;
|
||||
|
||||
iput p2, p0, Lcom/discord/stores/StoreUserGuildSettings$updateUserGuildSettings$1;->$successString:I
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelUserGuildSettings;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserGuildSettings$updateUserGuildSettings$1;->invoke(Lcom/discord/models/domain/ModelUserGuildSettings;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->bgy:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final invoke(Lcom/discord/models/domain/ModelUserGuildSettings;)V
|
||||
.locals 3
|
||||
|
||||
const-string v0, "it"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreUserGuildSettings$updateUserGuildSettings$1;->$context:Landroid/content/Context;
|
||||
|
||||
iget v0, p0, Lcom/discord/stores/StoreUserGuildSettings$updateUserGuildSettings$1;->$successString:I
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/16 v2, 0xc
|
||||
|
||||
invoke-static {p1, v0, v1, v2}, Lcom/discord/app/h;->a(Landroid/content/Context;III)V
|
||||
|
||||
return-void
|
||||
.end method
|
File diff suppressed because it is too large
Load diff
|
@ -1579,7 +1579,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
const v1, 0x7f121160
|
||||
const v1, 0x7f121162
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
@ -2062,7 +2062,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
const v1, 0x7f121160
|
||||
const v1, 0x7f121162
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
@ -2093,7 +2093,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
const v1, 0x7f12115f
|
||||
const v1, 0x7f121161
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
.end method
|
||||
|
||||
.method public final call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||||
.locals 10
|
||||
.locals 11
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
|
@ -101,10 +101,6 @@
|
|||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
|
@ -112,52 +108,52 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
:goto_0
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreVoiceParticipants$get$1;->this$0:Lcom/discord/stores/StoreVoiceParticipants;
|
||||
const-string v1, "channel.guildId"
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreVoiceParticipants;->getStream()Lcom/discord/stores/StoreStream;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreStream;->getUsers$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreUser;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreUser;->getMe()Lrx/Observable;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreVoiceParticipants$get$1;->this$0:Lcom/discord/stores/StoreVoiceParticipants;
|
||||
|
||||
invoke-static {v1, p1}, Lcom/discord/stores/StoreVoiceParticipants;->access$getOtherUsers(Lcom/discord/stores/StoreVoiceParticipants;Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
iget-object v1, p0, Lcom/discord/stores/StoreVoiceParticipants$get$1;->this$0:Lcom/discord/stores/StoreVoiceParticipants;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreVoiceParticipants;->getStream()Lcom/discord/stores/StoreStream;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreStream;->getVoiceStates$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreVoiceStates;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-string v4, "guildId"
|
||||
|
||||
invoke-static {v0, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v4
|
||||
move-result-wide v0
|
||||
|
||||
:goto_0
|
||||
iget-object v2, p0, Lcom/discord/stores/StoreVoiceParticipants$get$1;->this$0:Lcom/discord/stores/StoreVoiceParticipants;
|
||||
|
||||
invoke-virtual {v2}, Lcom/discord/stores/StoreVoiceParticipants;->getStream()Lcom/discord/stores/StoreStream;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2}, Lcom/discord/stores/StoreStream;->getUsers$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreUser;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2}, Lcom/discord/stores/StoreUser;->getMe()Lrx/Observable;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
iget-object v2, p0, Lcom/discord/stores/StoreVoiceParticipants$get$1;->this$0:Lcom/discord/stores/StoreVoiceParticipants;
|
||||
|
||||
invoke-static {v2, p1}, Lcom/discord/stores/StoreVoiceParticipants;->access$getOtherUsers(Lcom/discord/stores/StoreVoiceParticipants;Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
iget-object v2, p0, Lcom/discord/stores/StoreVoiceParticipants$get$1;->this$0:Lcom/discord/stores/StoreVoiceParticipants;
|
||||
|
||||
invoke-virtual {v2}, Lcom/discord/stores/StoreVoiceParticipants;->getStream()Lcom/discord/stores/StoreStream;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2}, Lcom/discord/stores/StoreStream;->getVoiceStates$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreVoiceStates;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v6
|
||||
move-result-wide v5
|
||||
|
||||
invoke-virtual {v1, v4, v5, v6, v7}, Lcom/discord/stores/StoreVoiceStates;->get(JJ)Lrx/Observable;
|
||||
invoke-virtual {v2, v0, v1, v5, v6}, Lcom/discord/stores/StoreVoiceStates;->get(JJ)Lrx/Observable;
|
||||
|
||||
move-result-object v4
|
||||
move-result-object v5
|
||||
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreVoiceParticipants$get$1;->this$0:Lcom/discord/stores/StoreVoiceParticipants;
|
||||
|
||||
|
@ -173,17 +169,17 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const-string v1, "stream\n \u2026 .get()"
|
||||
const-string v2, "stream\n \u2026 .get()"
|
||||
|
||||
invoke-static {p1, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {p1, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-wide/16 v5, 0xfa
|
||||
const-wide/16 v6, 0xfa
|
||||
|
||||
sget-object v1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
sget-object v2, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
invoke-static {p1, v5, v6, v1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->leadingEdgeThrottle(Lrx/Observable;JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
|
||||
invoke-static {p1, v6, v7, v2}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->leadingEdgeThrottle(Lrx/Observable;JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
|
||||
|
||||
move-result-object v5
|
||||
move-result-object v6
|
||||
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreVoiceParticipants$get$1;->this$0:Lcom/discord/stores/StoreVoiceParticipants;
|
||||
|
||||
|
@ -195,19 +191,19 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
iget-wide v6, p0, Lcom/discord/stores/StoreVoiceParticipants$get$1;->$channelId:J
|
||||
iget-wide v7, p0, Lcom/discord/stores/StoreVoiceParticipants$get$1;->$channelId:J
|
||||
|
||||
invoke-virtual {p1, v6, v7}, Lcom/discord/stores/StoreCalls;->get(J)Lrx/Observable;
|
||||
invoke-virtual {p1, v7, v8}, Lcom/discord/stores/StoreCalls;->get(J)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object v1, Lcom/discord/stores/StoreVoiceParticipants$get$1$1;->INSTANCE:Lcom/discord/stores/StoreVoiceParticipants$get$1$1;
|
||||
sget-object v2, Lcom/discord/stores/StoreVoiceParticipants$get$1$1;->INSTANCE:Lcom/discord/stores/StoreVoiceParticipants$get$1$1;
|
||||
|
||||
check-cast v1, Lrx/functions/b;
|
||||
check-cast v2, Lrx/functions/b;
|
||||
|
||||
invoke-virtual {p1, v1}, Lrx/Observable;->e(Lrx/functions/b;)Lrx/Observable;
|
||||
invoke-virtual {p1, v2}, Lrx/Observable;->e(Lrx/functions/b;)Lrx/Observable;
|
||||
|
||||
move-result-object v6
|
||||
move-result-object v7
|
||||
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreVoiceParticipants$get$1;->this$0:Lcom/discord/stores/StoreVoiceParticipants;
|
||||
|
||||
|
@ -221,7 +217,7 @@
|
|||
|
||||
invoke-virtual {p1}, Lcom/discord/stores/StoreVideoStreams;->getVideoStreams()Lrx/Observable;
|
||||
|
||||
move-result-object v7
|
||||
move-result-object v8
|
||||
|
||||
iget-object p1, p0, Lcom/discord/stores/StoreVoiceParticipants$get$1;->this$0:Lcom/discord/stores/StoreVoiceParticipants;
|
||||
|
||||
|
@ -233,10 +229,6 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-virtual {p1, v0, v1}, Lcom/discord/stores/StoreGuilds;->getComputed(J)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
@ -247,11 +239,11 @@
|
|||
|
||||
const-wide/16 v0, 0x1
|
||||
|
||||
sget-object v8, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
sget-object v2, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
invoke-static {p1, v0, v1, v8}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->leadingEdgeThrottle(Lrx/Observable;JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
|
||||
invoke-static {p1, v0, v1, v2}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->leadingEdgeThrottle(Lrx/Observable;JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
|
||||
|
||||
move-result-object v8
|
||||
move-result-object v9
|
||||
|
||||
new-instance p1, Lcom/discord/stores/StoreVoiceParticipants$get$1$2;
|
||||
|
||||
|
@ -265,11 +257,11 @@
|
|||
|
||||
invoke-direct {v0, p1}, Lcom/discord/stores/StoreVoiceParticipants$sam$rx_functions_Func7$0;-><init>(Lkotlin/jvm/functions/Function7;)V
|
||||
|
||||
move-object v9, v0
|
||||
move-object v10, v0
|
||||
|
||||
check-cast v9, Lrx/functions/Func7;
|
||||
check-cast v10, Lrx/functions/Func7;
|
||||
|
||||
invoke-static/range {v2 .. v9}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/functions/Func7;)Lrx/Observable;
|
||||
invoke-static/range {v3 .. v10}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/functions/Func7;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
|
|
@ -179,7 +179,7 @@
|
|||
|
||||
const-string v1, "browser_user_agent"
|
||||
|
||||
const-string v2, "Discord-Android/987"
|
||||
const-string v2, "Discord-Android/989"
|
||||
|
||||
invoke-static {v1, v2}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
||||
|
||||
|
@ -189,7 +189,7 @@
|
|||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
const/16 v1, 0x3db
|
||||
const/16 v1, 0x3dd
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
@ -207,7 +207,7 @@
|
|||
|
||||
const-string v1, "client_version"
|
||||
|
||||
const-string v2, "9.8.7"
|
||||
const-string v2, "9.8.9"
|
||||
|
||||
invoke-static {v1, v2}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
||||
|
||||
|
|
|
@ -3608,7 +3608,7 @@
|
|||
return p1
|
||||
|
||||
:sswitch_5
|
||||
const p1, 0x7f121222
|
||||
const p1, 0x7f121224
|
||||
|
||||
return p1
|
||||
|
||||
|
@ -3638,7 +3638,7 @@
|
|||
return p1
|
||||
|
||||
:sswitch_b
|
||||
const p1, 0x7f12121f
|
||||
const p1, 0x7f121221
|
||||
|
||||
return p1
|
||||
|
||||
|
@ -3693,7 +3693,7 @@
|
|||
return p1
|
||||
|
||||
:sswitch_16
|
||||
const p1, 0x7f121312
|
||||
const p1, 0x7f121314
|
||||
|
||||
return p1
|
||||
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
.class public final Lcom/discord/utilities/clocks/TestClock;
|
||||
.super Ljava/lang/Object;
|
||||
.source "TestClock.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/discord/utilities/clocks/Clock;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private currentTimeMs:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final currentTimeMillis()J
|
||||
.locals 2
|
||||
|
||||
iget-wide v0, p0, Lcom/discord/utilities/clocks/TestClock;->currentTimeMs:J
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public final progressTimeByMs(J)V
|
||||
.locals 2
|
||||
|
||||
iget-wide v0, p0, Lcom/discord/utilities/clocks/TestClock;->currentTimeMs:J
|
||||
|
||||
add-long/2addr v0, p1
|
||||
|
||||
iput-wide v0, p0, Lcom/discord/utilities/clocks/TestClock;->currentTimeMs:J
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final setTimeMs(J)V
|
||||
.locals 0
|
||||
|
||||
iput-wide p1, p0, Lcom/discord/utilities/clocks/TestClock;->currentTimeMs:J
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -693,7 +693,7 @@
|
|||
return-object p1
|
||||
|
||||
:pswitch_4
|
||||
const v0, 0x7f121164
|
||||
const v0, 0x7f121166
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -1176,7 +1176,7 @@
|
|||
|
||||
new-instance v2, Landroid/app/NotificationChannel;
|
||||
|
||||
const v4, 0x7f12131b
|
||||
const v4, 0x7f12131d
|
||||
|
||||
invoke-virtual {p1, v4}, Landroid/app/Application;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const v3, 0x7f1211d4
|
||||
const v3, 0x7f1211d6
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
const v0, 0x7f12123f
|
||||
const v0, 0x7f121241
|
||||
|
||||
new-array v2, v2, [Ljava/lang/Object;
|
||||
|
||||
|
@ -79,7 +79,7 @@
|
|||
goto :goto_2
|
||||
|
||||
:cond_1
|
||||
const v0, 0x7f12123a
|
||||
const v0, 0x7f12123c
|
||||
|
||||
new-array v2, v2, [Ljava/lang/Object;
|
||||
|
||||
|
@ -96,7 +96,7 @@
|
|||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
const v0, 0x7f12123b
|
||||
const v0, 0x7f12123d
|
||||
|
||||
new-array v2, v2, [Ljava/lang/Object;
|
||||
|
||||
|
@ -143,7 +143,7 @@
|
|||
:goto_0
|
||||
if-eqz p1, :cond_6
|
||||
|
||||
const v0, 0x7f12123d
|
||||
const v0, 0x7f12123f
|
||||
|
||||
new-array v2, v2, [Ljava/lang/Object;
|
||||
|
||||
|
@ -164,7 +164,7 @@
|
|||
|
||||
:cond_6
|
||||
:goto_1
|
||||
const p1, 0x7f12123c
|
||||
const p1, 0x7f12123e
|
||||
|
||||
invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -219,7 +219,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const v1, 0x7f121333
|
||||
const v1, 0x7f121335
|
||||
|
||||
new-array v3, v3, [Ljava/lang/Object;
|
||||
|
||||
|
|
|
@ -167,7 +167,7 @@
|
|||
.method public final getUserAgent()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "Discord-Android/987"
|
||||
const-string v0, "Discord-Android/989"
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
|
|
@ -33,8 +33,6 @@
|
|||
|
||||
:array_0
|
||||
.array-data 4
|
||||
0x7f12110e
|
||||
0x7f12110f
|
||||
0x7f121110
|
||||
0x7f121111
|
||||
0x7f121112
|
||||
|
@ -72,6 +70,8 @@
|
|||
0x7f121132
|
||||
0x7f121133
|
||||
0x7f121134
|
||||
0x7f121135
|
||||
0x7f121136
|
||||
.end array-data
|
||||
.end method
|
||||
|
||||
|
|
|
@ -1103,7 +1103,7 @@
|
|||
|
||||
:cond_7
|
||||
:goto_2
|
||||
const p2, 0x7f1211e0
|
||||
const p2, 0x7f1211e2
|
||||
|
||||
const/16 v0, 0xc
|
||||
|
||||
|
|
|
@ -332,7 +332,7 @@
|
|||
|
||||
move-result-object v3
|
||||
|
||||
const v9, 0x7f1211e5
|
||||
const v9, 0x7f1211e7
|
||||
|
||||
invoke-virtual {v3, v9}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -376,7 +376,7 @@
|
|||
|
||||
move-result-object p0
|
||||
|
||||
const v6, 0x7f1211de
|
||||
const v6, 0x7f1211e0
|
||||
|
||||
invoke-virtual {p0, v6}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -191,7 +191,7 @@
|
|||
|
||||
check-cast p1, Landroidx/fragment/app/Fragment;
|
||||
|
||||
const p2, 0x7f1211a3
|
||||
const p2, 0x7f1211a5
|
||||
|
||||
invoke-static {p1, p2}, Lcom/discord/app/h;->a(Landroidx/fragment/app/Fragment;I)V
|
||||
|
||||
|
@ -222,7 +222,7 @@
|
|||
|
||||
check-cast p1, Landroidx/fragment/app/Fragment;
|
||||
|
||||
const v0, 0x7f1211c8
|
||||
const v0, 0x7f1211ca
|
||||
|
||||
invoke-static {p1, v0}, Lcom/discord/app/h;->a(Landroidx/fragment/app/Fragment;I)V
|
||||
|
||||
|
@ -464,7 +464,7 @@
|
|||
|
||||
move-result-object v8
|
||||
|
||||
const v1, 0x7f1211ac
|
||||
const v1, 0x7f1211ae
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const v0, 0x7f12114e
|
||||
const v0, 0x7f121150
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
|
||||
sget-object v6, Lcom/discord/utilities/view/validators/BasicTextInputValidator;->Companion:Lcom/discord/utilities/view/validators/BasicTextInputValidator$Companion;
|
||||
|
||||
const v7, 0x7f1212d7
|
||||
const v7, 0x7f1212d9
|
||||
|
||||
invoke-virtual {v6, v7}, Lcom/discord/utilities/view/validators/BasicTextInputValidator$Companion;->createRequiredInputValidator(I)Lcom/discord/utilities/view/validators/BasicTextInputValidator;
|
||||
|
||||
|
|
|
@ -700,7 +700,7 @@
|
|||
|
||||
new-array v0, v0, [Ljava/lang/Object;
|
||||
|
||||
const v1, 0x7f12114b
|
||||
const v1, 0x7f12114d
|
||||
|
||||
invoke-virtual {p1, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -1312,12 +1312,12 @@
|
|||
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
const v3, 0x7f12114d
|
||||
const v3, 0x7f12114f
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const v3, 0x7f12114c
|
||||
const v3, 0x7f12114e
|
||||
|
||||
:goto_1
|
||||
invoke-direct {p0, v5, v3}, Lcom/discord/widgets/auth/WidgetAuthRegister;->getFormattedTermsText(Landroid/content/Context;I)Ljava/lang/CharSequence;
|
||||
|
|
|
@ -711,7 +711,7 @@
|
|||
|
||||
const v0, 0x7f1203ab
|
||||
|
||||
const v1, 0x7f1211d4
|
||||
const v1, 0x7f1211d6
|
||||
|
||||
invoke-static {p0, v0, v1}, Lcom/miguelgaeta/media_picker/MediaPicker;->openMediaChooser(Lcom/miguelgaeta/media_picker/MediaPicker$Provider;II)V
|
||||
|
||||
|
|
|
@ -55,6 +55,10 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const-string v1, "it.context"
|
||||
|
||||
invoke-static {p1, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lcom/discord/widgets/channels/WidgetChannelNotificationSettings$configureNotificationRadios$1$1;->$this_configureNotificationRadio:Lcom/discord/widgets/channels/WidgetChannelNotificationSettings$Model;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/widgets/channels/WidgetChannelNotificationSettings$Model;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
||||
|
|
|
@ -69,6 +69,10 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "channelSettingsNotificationsMuteToggle.context"
|
||||
|
||||
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lcom/discord/widgets/channels/WidgetChannelNotificationSettings$configureUI$1;->$this_configureUI:Lcom/discord/widgets/channels/WidgetChannelNotificationSettings$Model;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/widgets/channels/WidgetChannelNotificationSettings$Model;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
||||
|
|
|
@ -75,6 +75,10 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lcom/discord/widgets/channels/WidgetTextChannelSettings$configureUI$1;->$this_configureUI:Lcom/discord/widgets/channels/WidgetTextChannelSettings$Model;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/widgets/channels/WidgetTextChannelSettings$Model;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
||||
|
@ -99,8 +103,6 @@
|
|||
:goto_0
|
||||
return-void
|
||||
|
||||
nop
|
||||
|
||||
:pswitch_data_0
|
||||
.packed-switch 0x7f0a044f
|
||||
:pswitch_1
|
||||
|
|
|
@ -186,13 +186,13 @@
|
|||
|
||||
if-eq p1, v0, :cond_2
|
||||
|
||||
const p2, 0x7f121154
|
||||
const p2, 0x7f121156
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eq p1, p2, :cond_1
|
||||
|
||||
const p2, 0x7f121324
|
||||
const p2, 0x7f121326
|
||||
|
||||
if-eq p1, p2, :cond_0
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@
|
|||
.method private final getLearnMoreFormattedString(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/CharSequence;
|
||||
.locals 7
|
||||
|
||||
const v0, 0x7f1211b9
|
||||
const v0, 0x7f1211bb
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -73,6 +73,7 @@
|
|||
"Ljava/lang/Integer;",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"+",
|
||||
"Lcom/discord/models/domain/ModelUserGuildSettings;",
|
||||
">;)",
|
||||
"Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;"
|
||||
|
|
|
@ -329,7 +329,7 @@
|
|||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const v0, 0x7f1211e5
|
||||
const v0, 0x7f1211e7
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -85,6 +85,10 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "context"
|
||||
|
||||
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$$inlined$apply$lambda$3;->$this_configureUI$inlined:Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getChannel()Lcom/discord/models/domain/ModelChannel;
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
|
||||
new-array v1, v1, [Ljava/lang/Object;
|
||||
|
||||
const v2, 0x7f121142
|
||||
const v2, 0x7f121144
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Lcom/discord/app/AppTextView;->a(I[Ljava/lang/Object;)V
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
|
||||
new-array v0, v0, [Ljava/lang/Object;
|
||||
|
||||
const v1, 0x7f121143
|
||||
const v1, 0x7f121145
|
||||
|
||||
invoke-virtual {p2, v1, v0}, Lcom/discord/app/AppTextView;->a(I[Ljava/lang/Object;)V
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const p2, 0x7f121157
|
||||
const p2, 0x7f121159
|
||||
|
||||
invoke-virtual {p0, p2}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -837,7 +837,7 @@
|
|||
return-object p1
|
||||
|
||||
:cond_0
|
||||
const v0, 0x7f121307
|
||||
const v0, 0x7f121309
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -846,7 +846,7 @@
|
|||
return-object p1
|
||||
|
||||
:cond_1
|
||||
const v0, 0x7f1212fe
|
||||
const v0, 0x7f121300
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -941,7 +941,7 @@
|
|||
|
||||
iget-object p2, p0, Lcom/discord/widgets/chat/list/ViewEmbedGameInvite;->actionBtn:Lcom/google/android/material/button/MaterialButton;
|
||||
|
||||
const v0, 0x7f121227
|
||||
const v0, 0x7f121229
|
||||
|
||||
invoke-virtual {p2, v0}, Lcom/google/android/material/button/MaterialButton;->setText(I)V
|
||||
|
||||
|
|
|
@ -256,7 +256,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
const v3, 0x7f121107
|
||||
const v3, 0x7f121109
|
||||
|
||||
new-array v2, v2, [Ljava/lang/Object;
|
||||
|
||||
|
@ -277,7 +277,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
const v3, 0x7f121105
|
||||
const v3, 0x7f121107
|
||||
|
||||
new-array v2, v2, [Ljava/lang/Object;
|
||||
|
||||
|
|
|
@ -306,7 +306,7 @@
|
|||
|
||||
check-cast v3, Landroid/view/View;
|
||||
|
||||
const v6, 0x7f12134f
|
||||
const v6, 0x7f121351
|
||||
|
||||
new-array v7, v4, [Ljava/lang/Object;
|
||||
|
||||
|
@ -327,7 +327,7 @@
|
|||
|
||||
check-cast v3, Landroid/view/View;
|
||||
|
||||
const v6, 0x7f121354
|
||||
const v6, 0x7f121356
|
||||
|
||||
new-array v7, v4, [Ljava/lang/Object;
|
||||
|
||||
|
|
|
@ -544,7 +544,7 @@
|
|||
|
||||
move-result-object v5
|
||||
|
||||
const v7, 0x7f121249
|
||||
const v7, 0x7f12124b
|
||||
|
||||
new-array v3, v3, [Ljava/lang/Object;
|
||||
|
||||
|
|
|
@ -191,7 +191,7 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const v3, 0x7f1211e9
|
||||
const v3, 0x7f1211eb
|
||||
|
||||
invoke-virtual {p1, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue