forked from distok/cutthecord
Ave Ozkal
0c773d4daf
Apparently as of 9.6.9 we're back to gw v7. They're making the code and more enterprise too over time. Poor discord devs.
203 lines
6.6 KiB
Diff
203 lines
6.6 KiB
Diff
diff -crB com.discord-970-base/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali com.discord-970/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali
|
|
*** com.discord-970-base/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali 2019-10-10 08:36:54.103717996 +0300
|
|
--- com.discord-970/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali 2019-10-10 08:41:41.812866892 +0300
|
|
***************
|
|
*** 80,108 ****
|
|
|
|
.method public final call(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelGuild;)Z
|
|
.locals 1
|
|
-
|
|
- const-string v0, "meUser"
|
|
-
|
|
- .line 98
|
|
- invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
-
|
|
- invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->isStaff()Z
|
|
-
|
|
- move-result p1
|
|
-
|
|
- if-nez p1, :cond_1
|
|
-
|
|
- if-eqz p2, :cond_0
|
|
-
|
|
- goto :goto_0
|
|
-
|
|
- :cond_0
|
|
- const/4 p1, 0x0
|
|
-
|
|
- return p1
|
|
-
|
|
- :cond_1
|
|
- :goto_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
--- 80,85 ----
|
|
Only in com.discord-970/smali/com/discord/stores: StoreExperiments$getExperimentalAlpha$1.smali.orig
|
|
Only in com.discord-970/smali/com/discord/stores: StoreExperiments$getExperimentalAlpha$1.smali.rej
|
|
diff -crB com.discord-970-base/smali/com/discord/stores/StoreExperiments.smali com.discord-970/smali/com/discord/stores/StoreExperiments.smali
|
|
*** com.discord-970-base/smali/com/discord/stores/StoreExperiments.smali 2019-10-10 08:36:54.103717996 +0300
|
|
--- com.discord-970/smali/com/discord/stores/StoreExperiments.smali 2019-10-10 08:40:41.472548302 +0300
|
|
***************
|
|
*** 1245,1305 ****
|
|
.end method
|
|
|
|
.method public final isExperimentalAlpha()Z
|
|
! .locals 4
|
|
!
|
|
! .line 91
|
|
! iget-boolean v0, p0, Lcom/discord/stores/StoreExperiments;->initialized:Z
|
|
!
|
|
! const/4 v1, 0x1
|
|
!
|
|
! if-eqz v0, :cond_0
|
|
!
|
|
! iget-object v0, p0, Lcom/discord/stores/StoreExperiments;->stream:Lcom/discord/stores/StoreStream;
|
|
!
|
|
! invoke-virtual {v0}, Lcom/discord/stores/StoreStream;->getUsers$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreUser;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! iget-object v0, v0, Lcom/discord/stores/StoreUser;->me:Lcom/discord/models/domain/ModelUser$Me;
|
|
!
|
|
! if-eqz v0, :cond_0
|
|
!
|
|
! invoke-virtual {v0}, Lcom/discord/models/domain/ModelUser$Me;->isStaff()Z
|
|
!
|
|
! move-result v0
|
|
!
|
|
! if-eq v0, v1, :cond_1
|
|
!
|
|
! :cond_0
|
|
! iget-object v0, p0, Lcom/discord/stores/StoreExperiments;->stream:Lcom/discord/stores/StoreStream;
|
|
!
|
|
! invoke-virtual {v0}, Lcom/discord/stores/StoreStream;->getGuilds$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreGuilds;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! iget-object v0, v0, Lcom/discord/stores/StoreGuilds;->guilds:Ljava/util/Map;
|
|
!
|
|
! const-string v2, "stream.guilds.guilds"
|
|
!
|
|
! invoke-static {v0, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! const-wide v2, 0x2bc056ab0800006L
|
|
!
|
|
! invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! invoke-interface {v0, v2}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
!
|
|
! move-result v0
|
|
!
|
|
! if-eqz v0, :cond_2
|
|
!
|
|
! :cond_1
|
|
! return v1
|
|
!
|
|
! :cond_2
|
|
! const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
--- 1245,1252 ----
|
|
.end method
|
|
|
|
.method public final isExperimentalAlpha()Z
|
|
! .locals 1
|
|
! const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|
|
Only in com.discord-970/smali/com/discord/stores: StoreExperiments.smali.orig
|
|
Only in com.discord-970/smali/com/discord/stores: StoreExperiments.smali.rej
|
|
diff -crB com.discord-970-base/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali com.discord-970/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali
|
|
*** com.discord-970-base/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali 2019-10-10 08:36:54.540387242 +0300
|
|
--- com.discord-970/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali 2019-10-10 08:41:26.909451124 +0300
|
|
***************
|
|
*** 77,87 ****
|
|
const-string v0, "meUser"
|
|
|
|
.line 186
|
|
! invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->isStaff()Z
|
|
!
|
|
! move-result v2
|
|
|
|
const-string v1, "fontScale"
|
|
|
|
--- 77,83 ----
|
|
const-string v0, "meUser"
|
|
|
|
.line 186
|
|
! const/4 v2, 0x1
|
|
|
|
const-string v1, "fontScale"
|
|
|
|
***************
|
|
*** 95,105 ****
|
|
const-string p3, "isAlphaTesterOrStaff"
|
|
|
|
.line 188
|
|
! invoke-static {p4, p3}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! invoke-virtual {p4}, Ljava/lang/Boolean;->booleanValue()Z
|
|
!
|
|
! move-result v4
|
|
|
|
.line 189
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
--- 91,97 ----
|
|
const-string p3, "isAlphaTesterOrStaff"
|
|
|
|
.line 188
|
|
! const/4 v4, 0x1
|
|
|
|
.line 189
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
Only in com.discord-970/smali/com/discord/widgets/settings: WidgetSettingsAppearance$Model$Companion$get$1.smali.orig
|
|
Only in com.discord-970/smali/com/discord/widgets/settings: WidgetSettingsAppearance$Model$Companion$get$1.smali.rej
|
|
diff -crB com.discord-970-base/smali/com/discord/widgets/settings/WidgetSettings.smali com.discord-970/smali/com/discord/widgets/settings/WidgetSettings.smali
|
|
*** com.discord-970-base/smali/com/discord/widgets/settings/WidgetSettings.smali 2019-10-10 08:36:54.547053948 +0300
|
|
--- com.discord-970/smali/com/discord/widgets/settings/WidgetSettings.smali 2019-10-10 08:40:24.925796122 +0300
|
|
***************
|
|
*** 877,885 ****
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 133
|
|
! invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->isStaff()Z
|
|
!
|
|
! move-result v2
|
|
|
|
if-eq v2, v0, :cond_0
|
|
|
|
--- 877,883 ----
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 133
|
|
! const/4 v2, 0x1
|
|
|
|
if-eq v2, v0, :cond_0
|
|
|
|
***************
|
|
*** 898,906 ****
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 134
|
|
! invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->isVerified()Z
|
|
!
|
|
! move-result v3
|
|
|
|
if-ne v3, v0, :cond_2
|
|
|
|
--- 896,902 ----
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 134
|
|
! const/4 v3, 0x1
|
|
|
|
if-ne v3, v0, :cond_2
|
|
|
|
|