35 lines
1.7 KiB
Diff
35 lines
1.7 KiB
Diff
|
diff -crB com.discord-base/smali/com/discord/gateway/GatewaySocket.smali com.discord/smali/com/discord/gateway/GatewaySocket.smali
|
||
|
*** com.discord-base/smali/com/discord/gateway/GatewaySocket.smali 2021-05-31 14:05:53.000000000 +0300
|
||
|
--- com.discord/smali/com/discord/gateway/GatewaySocket.smali 2021-06-04 20:53:51.000000000 +0300
|
||
|
***************
|
||
|
*** 1367,1373 ****
|
||
|
|
||
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
! const-string p1, "/?encoding=json&v=9&compress=zlib-stream"
|
||
|
|
||
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
--- 1367,1373 ----
|
||
|
|
||
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
! const-string p1, "/?encoding=json&v=9"
|
||
|
|
||
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
diff -crB com.discord-base/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali com.discord/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali
|
||
|
*** com.discord-base/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2021-05-31 14:05:53.000000000 +0300
|
||
|
--- com.discord/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2021-06-04 20:53:03.000000000 +0300
|
||
|
***************
|
||
|
*** 115,120 ****
|
||
|
--- 115,122 ----
|
||
|
|
||
|
iput p2, p0, Lcom/discord/gateway/io/OutgoingPayload$Identify;->largeThreshold:I
|
||
|
|
||
|
+ const/4 p3, 0x0
|
||
|
+
|
||
|
iput-boolean p3, p0, Lcom/discord/gateway/io/OutgoingPayload$Identify;->compress:Z
|
||
|
|
||
|
iput-wide p4, p0, Lcom/discord/gateway/io/OutgoingPayload$Identify;->capabilities:J
|