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/patches/nozlib/1016.patch

38 lines
1.9 KiB
Diff
Raw Normal View History

2020-01-03 15:15:51 +00:00
diff -crB com.discord-1011-base/smali/com/discord/gateway/GatewaySocket.smali com.discord-1011/smali/com/discord/gateway/GatewaySocket.smali
*** com.discord-1011-base/smali/com/discord/gateway/GatewaySocket.smali 2019-12-19 01:48:21.781051851 +0300
--- com.discord-1011/smali/com/discord/gateway/GatewaySocket.smali 2019-12-19 01:50:56.271989867 +0300
***************
*** 1033,1039 ****
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
! const-string p1, "/?encoding=json&v=6&compress=zlib-stream"
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
--- 1033,1039 ----
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
! const-string p1, "/?encoding=json&v=6"
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Only in com.discord-1011/smali/com/discord/gateway: GatewaySocket.smali.orig
Only in com.discord-1011/smali/com/discord/gateway: GatewaySocket.smali.rej
diff -crB com.discord-1011-base/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali com.discord-1011/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali
*** com.discord-1011-base/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2019-12-19 01:48:21.771051790 +0300
--- com.discord-1011/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2019-12-19 01:50:32.861847728 +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;