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/965.patch

38 lines
1.8 KiB
Diff
Raw Permalink Normal View History

2019-10-03 05:52:14 +00:00
diff -crB com.discord-965-base/smali/com/discord/gateway/GatewaySocket.smali com.discord-965/smali/com/discord/gateway/GatewaySocket.smali
*** com.discord-965-base/smali/com/discord/gateway/GatewaySocket.smali 2019-10-03 08:11:18.697071390 +0300
--- com.discord-965/smali/com/discord/gateway/GatewaySocket.smali 2019-10-03 08:18:24.913032919 +0300
***************
*** 1050,1056 ****
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;
--- 1050,1056 ----
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-965/smali/com/discord/gateway: GatewaySocket.smali.orig
Only in com.discord-965/smali/com/discord/gateway: GatewaySocket.smali.rej
diff -crB com.discord-965-base/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali com.discord-965/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali
*** com.discord-965-base/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2019-10-03 08:11:18.697071390 +0300
--- com.discord-965/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2019-10-03 08:18:12.376318804 +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;