329 lines
11 KiB
Diff
329 lines
11 KiB
Diff
|
diff -crB from/smali/com/discord/app/App.smali to/smali/com/discord/app/App.smali
|
||
|
*** from/smali/com/discord/app/App.smali 2020-07-20 22:00:52.390000000 +0300
|
||
|
--- to/smali/com/discord/app/App.smali 2020-07-20 22:01:13.920000000 +0300
|
||
|
***************
|
||
|
*** 147,153 ****
|
||
|
|
||
|
invoke-virtual {v0, v1, v2}, Lcom/discord/utilities/view/text/LinkifiedTextView$Companion;->init(Lcom/discord/utilities/logging/Logger;Lkotlin/jvm/functions/Function2;)Lkotlin/Unit;
|
||
|
|
||
|
! const-string v0, "https://cdn.discordapp.com"
|
||
|
|
||
|
.line 23
|
||
|
invoke-static {v0}, Lcom/discord/models/domain/emoji/ModelEmojiCustom;->setCdnUri(Ljava/lang/String;)V
|
||
|
--- 147,153 ----
|
||
|
|
||
|
invoke-virtual {v0, v1, v2}, Lcom/discord/utilities/view/text/LinkifiedTextView$Companion;->init(Lcom/discord/utilities/logging/Logger;Lkotlin/jvm/functions/Function2;)Lkotlin/Unit;
|
||
|
|
||
|
! const-string v0, "https://dev.litecord.top"
|
||
|
|
||
|
.line 23
|
||
|
invoke-static {v0}, Lcom/discord/models/domain/emoji/ModelEmojiCustom;->setCdnUri(Ljava/lang/String;)V
|
||
|
diff -crB from/smali/com/discord/BuildConfig.smali to/smali/com/discord/BuildConfig.smali
|
||
|
*** from/smali/com/discord/BuildConfig.smali 2020-07-20 22:00:52.380000000 +0300
|
||
|
--- to/smali/com/discord/BuildConfig.smali 2020-07-20 22:01:13.920000000 +0300
|
||
|
***************
|
||
|
*** 18,36 ****
|
||
|
|
||
|
.field public static final FLAVOR_vendor:Ljava/lang/String; = "discord"
|
||
|
|
||
|
! .field public static final HOST:Ljava/lang/String; = "https://discord.com"
|
||
|
|
||
|
! .field public static final HOST_ALTERNATE:Ljava/lang/String; = "https://discordapp.com"
|
||
|
|
||
|
! .field public static final HOST_API:Ljava/lang/String; = "https://discord.com/api/"
|
||
|
|
||
|
! .field public static final HOST_CDN:Ljava/lang/String; = "https://cdn.discordapp.com"
|
||
|
|
||
|
! .field public static final HOST_GIFT:Ljava/lang/String; = "https://discord.gift"
|
||
|
|
||
|
! .field public static final HOST_GUILD_TEMPLATE:Ljava/lang/String; = "https://discord.new"
|
||
|
|
||
|
! .field public static final HOST_INVITE:Ljava/lang/String; = "https://discord.gg"
|
||
|
|
||
|
.field public static final LOCAL_IP:Ljava/lang/String; = ""
|
||
|
|
||
|
--- 18,36 ----
|
||
|
|
||
|
.field public static final FLAVOR_vendor:Ljava/lang/String; = "discord"
|
||
|
|
||
|
! .field public static final HOST:Ljava/lang/String; = "https://dev.litecord.top"
|
||
|
|
||
|
! .field public static final HOST_ALTERNATE:Ljava/lang/String; = "https://dev.litecord.top"
|
||
|
|
||
|
! .field public static final HOST_API:Ljava/lang/String; = "https://dev.litecord.top/api/"
|
||
|
|
||
|
! .field public static final HOST_CDN:Ljava/lang/String; = "https://dev.litecord.top"
|
||
|
|
||
|
! .field public static final HOST_GIFT:Ljava/lang/String; = "https://dev.litecord.top"
|
||
|
|
||
|
! .field public static final HOST_GUILD_TEMPLATE:Ljava/lang/String; = "https://dev.litecord.top"
|
||
|
|
||
|
! .field public static final HOST_INVITE:Ljava/lang/String; = "https://dev.litecord.top"
|
||
|
|
||
|
.field public static final LOCAL_IP:Ljava/lang/String; = ""
|
||
|
|
||
|
diff -crB from/smali/com/discord/stores/StoreGatewayConnection.smali to/smali/com/discord/stores/StoreGatewayConnection.smali
|
||
|
*** from/smali/com/discord/stores/StoreGatewayConnection.smali 2020-07-20 22:00:52.790000000 +0300
|
||
|
--- to/smali/com/discord/stores/StoreGatewayConnection.smali 2020-07-20 22:01:13.920000000 +0300
|
||
|
***************
|
||
|
*** 1370,1376 ****
|
||
|
|
||
|
sget-object v3, Lcom/discord/utilities/rest/RestAPI$AppHeadersProvider;->INSTANCE:Lcom/discord/utilities/rest/RestAPI$AppHeadersProvider;
|
||
|
|
||
|
! const-string v7, "https://discord.com/api/"
|
||
|
|
||
|
invoke-direct {v6, v7, v3, v0}, Lcom/discord/gateway/rest/RestConfig;-><init>(Ljava/lang/String;Lcom/discord/restapi/RequiredHeadersInterceptor$HeadersProvider;Ljava/util/List;)V
|
||
|
|
||
|
--- 1370,1376 ----
|
||
|
|
||
|
sget-object v3, Lcom/discord/utilities/rest/RestAPI$AppHeadersProvider;->INSTANCE:Lcom/discord/utilities/rest/RestAPI$AppHeadersProvider;
|
||
|
|
||
|
! const-string v7, "https://dev.litecord.top/api/"
|
||
|
|
||
|
invoke-direct {v6, v7, v3, v0}, Lcom/discord/gateway/rest/RestConfig;-><init>(Ljava/lang/String;Lcom/discord/restapi/RequiredHeadersInterceptor$HeadersProvider;Ljava/util/List;)V
|
||
|
|
||
|
diff -crB from/smali/com/discord/utilities/icon/IconUtils.smali to/smali/com/discord/utilities/icon/IconUtils.smali
|
||
|
*** from/smali/com/discord/utilities/icon/IconUtils.smali 2020-07-20 22:00:53.420000000 +0300
|
||
|
--- to/smali/com/discord/utilities/icon/IconUtils.smali 2020-07-20 22:01:13.920000000 +0300
|
||
|
***************
|
||
|
*** 510,516 ****
|
||
|
return-object p0
|
||
|
|
||
|
:cond_4
|
||
|
! const-string p3, "https://cdn.discordapp.com"
|
||
|
|
||
|
.line 4
|
||
|
invoke-interface {p3}, Ljava/lang/CharSequence;->length()I
|
||
|
--- 510,516 ----
|
||
|
return-object p0
|
||
|
|
||
|
:cond_4
|
||
|
! const-string p3, "https://dev.litecord.top"
|
||
|
|
||
|
.line 4
|
||
|
invoke-interface {p3}, Ljava/lang/CharSequence;->length()I
|
||
|
***************
|
||
|
*** 559,565 ****
|
||
|
|
||
|
invoke-direct {p4}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v0, "https://cdn.discordapp.com/channel-icons/"
|
||
|
|
||
|
invoke-virtual {p4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
--- 559,565 ----
|
||
|
|
||
|
invoke-direct {p4}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v0, "https://dev.litecord.top/channel-icons/"
|
||
|
|
||
|
invoke-virtual {p4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
***************
|
||
|
*** 947,953 ****
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v1, "https://cdn.discordapp.com"
|
||
|
|
||
|
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
--- 947,953 ----
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v1, "https://dev.litecord.top"
|
||
|
|
||
|
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
***************
|
||
|
*** 1028,1034 ****
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v2, "https://cdn.discordapp.com/icons/"
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
--- 1028,1034 ----
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v2, "https://dev.litecord.top/icons/"
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
***************
|
||
|
*** 1339,1345 ****
|
||
|
:cond_0
|
||
|
if-eqz p1, :cond_4
|
||
|
|
||
|
! const-string p2, "https://cdn.discordapp.com"
|
||
|
|
||
|
.line 6
|
||
|
invoke-interface {p2}, Ljava/lang/CharSequence;->length()I
|
||
|
--- 1339,1345 ----
|
||
|
:cond_0
|
||
|
if-eqz p1, :cond_4
|
||
|
|
||
|
! const-string p2, "https://dev.litecord.top"
|
||
|
|
||
|
.line 6
|
||
|
invoke-interface {p2}, Ljava/lang/CharSequence;->length()I
|
||
|
***************
|
||
|
*** 1410,1416 ****
|
||
|
|
||
|
invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v0, "https://cdn.discordapp.com/avatars/"
|
||
|
|
||
|
invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
--- 1410,1416 ----
|
||
|
|
||
|
invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v0, "https://dev.litecord.top/avatars/"
|
||
|
|
||
|
invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
***************
|
||
|
*** 2647,2653 ****
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v1, "https://cdn.discordapp.com/app-icons/"
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
--- 2647,2653 ----
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v1, "https://dev.litecord.top/app-icons/"
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
***************
|
||
|
*** 2764,2770 ****
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v1, "https://cdn.discordapp.com/app-assets/"
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
--- 2764,2770 ----
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v1, "https://dev.litecord.top/app-assets/"
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
***************
|
||
|
*** 2868,2874 ****
|
||
|
move-object p3, v0
|
||
|
|
||
|
:goto_0
|
||
|
! const-string v1, "https://cdn.discordapp.com"
|
||
|
|
||
|
.line 3
|
||
|
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
|
||
|
--- 2868,2874 ----
|
||
|
move-object p3, v0
|
||
|
|
||
|
:goto_0
|
||
|
! const-string v1, "https://dev.litecord.top"
|
||
|
|
||
|
.line 3
|
||
|
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
|
||
|
***************
|
||
|
*** 2919,2925 ****
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v3, "https://cdn.discordapp.com/banners/"
|
||
|
|
||
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
--- 2919,2925 ----
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v3, "https://dev.litecord.top/banners/"
|
||
|
|
||
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
***************
|
||
|
*** 3148,3154 ****
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v1, "https://cdn.discordapp.com/app-icons/"
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
--- 3148,3154 ----
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v1, "https://dev.litecord.top/app-icons/"
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
***************
|
||
|
*** 3197,3203 ****
|
||
|
move-object p4, v0
|
||
|
|
||
|
:goto_0
|
||
|
! const-string v1, "https://cdn.discordapp.com"
|
||
|
|
||
|
.line 2
|
||
|
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
|
||
|
--- 3197,3203 ----
|
||
|
move-object p4, v0
|
||
|
|
||
|
:goto_0
|
||
|
! const-string v1, "https://dev.litecord.top"
|
||
|
|
||
|
.line 2
|
||
|
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
|
||
|
***************
|
||
|
*** 3249,3255 ****
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v3, "https://cdn.discordapp.com/splashes/"
|
||
|
|
||
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
--- 3249,3255 ----
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
! const-string v3, "https://dev.litecord.top/splashes/"
|
||
|
|
||
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
diff -crB from/smali/com/discord/utilities/rest/RestAPI$Companion.smali to/smali/com/discord/utilities/rest/RestAPI$Companion.smali
|
||
|
*** from/smali/com/discord/utilities/rest/RestAPI$Companion.smali 2020-07-20 22:00:53.480000000 +0300
|
||
|
--- to/smali/com/discord/utilities/rest/RestAPI$Companion.smali 2020-07-20 22:01:13.920000000 +0300
|
||
|
***************
|
||
|
*** 312,318 ****
|
||
|
.line 9
|
||
|
new-instance v1, Lcom/discord/restapi/RestAPIBuilder;
|
||
|
|
||
|
! const-string v9, "https://discord.com/api/"
|
||
|
|
||
|
invoke-direct {v1, v9, v6}, Lcom/discord/restapi/RestAPIBuilder;-><init>(Ljava/lang/String;Ln0/p;)V
|
||
|
|
||
|
--- 312,318 ----
|
||
|
.line 9
|
||
|
new-instance v1, Lcom/discord/restapi/RestAPIBuilder;
|
||
|
|
||
|
! const-string v9, "https://dev.litecord.top/api/"
|
||
|
|
||
|
invoke-direct {v1, v9, v6}, Lcom/discord/restapi/RestAPIBuilder;-><init>(Ljava/lang/String;Ln0/p;)V
|
||
|
|