cutthecordS/patches/nozlib/1006.patch
Ave Ozkal 51f1e9079b
10.0.6
smalltime is gone.
2019-12-13 12:26:27 +03:00

38 lines
1.9 KiB
Diff

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