This repository has been archived on 2021-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
cutthecord/resources/patches/nozlib/970.patch
2021-08-06 18:43:36 +01:00

37 lines
1.8 KiB
Diff

diff -crB com.discord-970-base/smali/com/discord/gateway/GatewaySocket.smali com.discord-970/smali/com/discord/gateway/GatewaySocket.smali
*** com.discord-970-base/smali/com/discord/gateway/GatewaySocket.smali 2019-10-10 08:36:53.990383992 +0300
--- com.discord-970/smali/com/discord/gateway/GatewaySocket.smali 2019-10-10 08:38:29.865123940 +0300
***************
*** 1054,1060 ****
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
! const-string p1, "/?encoding=json&v=7&compress=zlib-stream"
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
--- 1054,1060 ----
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
! const-string p1, "/?encoding=json&v=7"
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Only in com.discord-970/smali/com/discord/gateway: GatewaySocket.smali.orig
Only in com.discord-970/smali/com/discord/gateway: GatewaySocket.smali.rej
diff -crB com.discord-970-base/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali com.discord-970/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali
*** com.discord-970-base/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2019-10-10 08:36:53.983717287 +0300
--- com.discord-970/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2019-10-10 08:38:08.940826829 +0300
***************
*** 66,71 ****
--- 66,73 ----
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;