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

39 lines
1.9 KiB
Diff
Raw Normal View History

2019-12-13 09:26:27 +00:00
diff -crB com.discord-1006-base/smali/com/discord/gateway/GatewaySocket.smali com.discord-1006/smali/com/discord/gateway/GatewaySocket.smali
*** com.discord-1006-base/smali/com/discord/gateway/GatewaySocket.smali 2019-12-13 11:10:56.970789454 +0300
--- com.discord-1006/smali/com/discord/gateway/GatewaySocket.smali 2019-12-13 11:13:50.438440273 +0300
***************
*** 1033,1039 ****
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;
--- 1033,1039 ----
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-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:13:31.778333843 +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