cutthecord/patches/nozlib/964.patch

38 lines
1.9 KiB
Diff
Raw Permalink Normal View History

2019-10-01 20:06:14 +00:00
diff -crB com.discord-963-base/smali/com/discord/gateway/GatewaySocket.smali com.discord-963/smali/com/discord/gateway/GatewaySocket.smali
*** com.discord-963-base/smali/com/discord/gateway/GatewaySocket.smali 2019-10-01 22:09:20.573988563 +0300
--- com.discord-963/smali/com/discord/gateway/GatewaySocket.smali 2019-10-01 22:43:46.314336604 +0300
***************
*** 1050,1056 ****
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;
--- 1050,1056 ----
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;
diff -crB com.discord-963-base/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali com.discord-963/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali
*** com.discord-963-base/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2019-10-01 22:09:20.550655074 +0300
--- com.discord-963/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2019-10-01 22:44:23.654584202 +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;
Only in com.discord-963/smali/com/discord/gateway/io: OutgoingPayload$Identify.smali.orig
Only in com.discord-963/smali/com/discord/gateway/io: OutgoingPayload$Identify.smali.rej