From 4bc5ffc08115f341c1258a8312ffa0c9dbc3a1a7 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Fri, 13 Dec 2019 14:00:27 +0300 Subject: [PATCH] litecord: properly split from nozlib on 1006 --- patches/litecord/1006.patch | 35 ++++++----------------------------- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/patches/litecord/1006.patch b/patches/litecord/1006.patch index 352ac8395d..ef187961c3 100644 --- a/patches/litecord/1006.patch +++ b/patches/litecord/1006.patch @@ -1,6 +1,6 @@ diff -crB com.discord-1006-base/smali/com/discord/app/App.smali com.discord-1006/smali/com/discord/app/App.smali *** com.discord-1006-base/smali/com/discord/app/App.smali 2019-12-13 11:10:56.940789276 +0300 ---- com.discord-1006/smali/com/discord/app/App.smali 2019-12-13 11:20:31.910669853 +0300 +--- com.discord-1006/smali/com/discord/app/App.smali 2019-12-13 13:59:42.310421127 +0300 *************** *** 197,203 **** @@ -18,11 +18,9 @@ diff -crB com.discord-1006-base/smali/com/discord/app/App.smali com.discord-1006 .line 23 invoke-static {v0}, Lcom/discord/models/domain/emoji/ModelEmojiCustom;->setCdnUri(Ljava/lang/String;)V -Only in com.discord-1006/smali/com/discord/app: App.smali.orig -Only in com.discord-1006/smali/com/discord/app: App.smali.rej diff -crB com.discord-1006-base/smali/com/discord/BuildConfig.smali com.discord-1006/smali/com/discord/BuildConfig.smali *** com.discord-1006-base/smali/com/discord/BuildConfig.smali 2019-12-13 11:10:56.940789276 +0300 ---- com.discord-1006/smali/com/discord/BuildConfig.smali 2019-12-13 11:20:17.110591324 +0300 +--- com.discord-1006/smali/com/discord/BuildConfig.smali 2019-12-13 13:59:42.310421127 +0300 *************** *** 18,32 **** @@ -56,26 +54,9 @@ diff -crB com.discord-1006-base/smali/com/discord/BuildConfig.smali com.discord- .field public static final LOCAL_IP:Ljava/lang/String; = "" -Only in com.discord-1006/smali/com/discord/gateway: GatewaySocket.smali.orig -Only in com.discord-1006/smali/com/discord/gateway: GatewaySocket.smali.rej -diff -crB com.discord-1006-base/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali com.discord-1006/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali -*** com.discord-1006-base/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2019-12-13 11:10:56.967456101 +0300 ---- com.discord-1006/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2019-12-13 11:20:17.113924675 +0300 -*************** -*** 62,67 **** ---- 62,69 ---- - - iput p2, p0, Lcom/discord/gateway/io/OutgoingPayload$Identify;->large_threshold:I - -+ const/4 p3, 0x0 -+ - iput-boolean p3, p0, Lcom/discord/gateway/io/OutgoingPayload$Identify;->compress:Z - - iput-object p4, p0, Lcom/discord/gateway/io/OutgoingPayload$Identify;->properties:Ljava/util/Map; -Only in com.discord-1006/smali/com/discord/gateway/io: OutgoingPayload$Identify.smali.orig diff -crB com.discord-1006-base/smali/com/discord/stores/StoreGatewayConnection.smali com.discord-1006/smali/com/discord/stores/StoreGatewayConnection.smali *** com.discord-1006-base/smali/com/discord/stores/StoreGatewayConnection.smali 2019-12-13 11:10:57.224124287 +0300 ---- com.discord-1006/smali/com/discord/stores/StoreGatewayConnection.smali 2019-12-13 11:20:17.113924675 +0300 +--- com.discord-1006/smali/com/discord/stores/StoreGatewayConnection.smali 2019-12-13 13:59:42.313754481 +0300 *************** *** 1333,1339 **** @@ -93,10 +74,9 @@ diff -crB com.discord-1006-base/smali/com/discord/stores/StoreGatewayConnection. invoke-direct {v9, v3, v2, v0}, Lcom/discord/gateway/rest/RestConfig;->(Ljava/lang/String;Lcom/discord/restapi/RequiredHeadersInterceptor$HeadersProvider;Ljava/util/List;)V -Only in com.discord-1006/smali/com/discord/stores: StoreGatewayConnection.smali.orig diff -crB com.discord-1006-base/smali/com/discord/utilities/icon/IconUtils.smali com.discord-1006/smali/com/discord/utilities/icon/IconUtils.smali *** com.discord-1006-base/smali/com/discord/utilities/icon/IconUtils.smali 2019-12-13 11:10:57.340791645 +0300 ---- com.discord-1006/smali/com/discord/utilities/icon/IconUtils.smali 2019-12-13 11:20:17.117258026 +0300 +--- com.discord-1006/smali/com/discord/utilities/icon/IconUtils.smali 2019-12-13 13:59:42.317087835 +0300 *************** *** 441,447 **** goto :goto_3 @@ -250,10 +230,9 @@ diff -crB com.discord-1006-base/smali/com/discord/utilities/icon/IconUtils.smali invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; -Only in com.discord-1006/smali/com/discord/utilities/icon: IconUtils.smali.orig diff -crB com.discord-1006-base/smali/com/discord/utilities/rest/RestAPI$Companion.smali com.discord-1006/smali/com/discord/utilities/rest/RestAPI$Companion.smali *** com.discord-1006-base/smali/com/discord/utilities/rest/RestAPI$Companion.smali 2019-12-13 11:10:57.360791763 +0300 ---- com.discord-1006/smali/com/discord/utilities/rest/RestAPI$Companion.smali 2019-12-13 11:20:17.117258026 +0300 +--- com.discord-1006/smali/com/discord/utilities/rest/RestAPI$Companion.smali 2019-12-13 13:59:42.317087835 +0300 *************** *** 280,286 **** .line 9 @@ -271,10 +250,9 @@ diff -crB com.discord-1006-base/smali/com/discord/utilities/rest/RestAPI$Compani invoke-direct {v1, v9, v6}, Lcom/discord/restapi/RestAPIBuilder;->(Ljava/lang/String;Lw/n;)V -Only in com.discord-1006/smali/com/discord/utilities/rest: RestAPI$Companion.smali.orig diff -crB com.discord-1006-base/smali/com/discord/widgets/chat/list/ViewEmbedGameInvite.smali com.discord-1006/smali/com/discord/widgets/chat/list/ViewEmbedGameInvite.smali *** com.discord-1006-base/smali/com/discord/widgets/chat/list/ViewEmbedGameInvite.smali 2019-12-13 11:10:57.494125886 +0300 ---- com.discord-1006/smali/com/discord/widgets/chat/list/ViewEmbedGameInvite.smali 2019-12-13 11:20:17.117258026 +0300 +--- com.discord-1006/smali/com/discord/widgets/chat/list/ViewEmbedGameInvite.smali 2019-12-13 13:59:42.317087835 +0300 *************** *** 769,775 **** :cond_c @@ -292,5 +270,4 @@ diff -crB com.discord-1006-base/smali/com/discord/widgets/chat/list/ViewEmbedGam .line 19 invoke-static {v4}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder; -Only in com.discord-1006/smali/com/discord/widgets/chat/list: ViewEmbedGameInvite.smali.orig