cutthecord/patches/nozlib/1013.patch

38 lines
1.9 KiB
Diff
Raw Permalink Normal View History

2019-12-21 10:13:30 +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;