20-alpha1 (1107)

This commit is contained in:
eatsfoobars 2020-04-21 18:09:44 +01:00
parent 882e7af9a5
commit 283cb1eff8
Signed by untrusted user: eatsfoobars
GPG key ID: D08609FADBD8C395
44 changed files with 59250 additions and 428 deletions

34
patches/nozlib/1107.patch Normal file
View file

@ -0,0 +1,34 @@
diff -crB from/smali/com/discord/gateway/GatewaySocket.smali to/smali/com/discord/gateway/GatewaySocket.smali
*** from/smali/com/discord/gateway/GatewaySocket.smali 2020-02-06 22:11:47.391098525 +0000
--- to/smali/com/discord/gateway/GatewaySocket.smali 2020-02-06 22:12:08.933089541 +0000
***************
*** 1087,1093 ****
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
! const-string p1, "/?encoding=json&v=6&compress=zlib-stream"
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
--- 1087,1093 ----
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
! const-string p1, "/?encoding=json&v=6"
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
diff -crB from/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali to/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali
*** from/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2020-02-06 22:11:47.391098525 +0000
--- to/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2020-02-06 22:12:08.933089541 +0000
***************
*** 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;

View file

@ -100,28 +100,8 @@ This patch disables zlib-stream field on wss, making it easier to parse it.
- 18.0-alpha9
- 18.0-alpha11
- 18.0-alpha12
- 19.0-alpha1
- 16
- 17.0
- 18.0-alpha1
- 18.0-alpha9
- 18.0-alpha11
- 18.0-alpha12
- 19.0-alpha4
- 16
- 17.0
- 18.0-alpha1
- 18.0-alpha9
- 18.0-alpha11
- 18.0-alpha12
- 19.0-alpha6
- 16
- 17.0
- 18.0-alpha1
- 18.0-alpha9
- 18.0-alpha11
- 18.0-alpha12
- 19.0-alpha7
- 19.0
- 20-alpha1-alpha1
- 16
- 17.0
- 18.0-alpha1
@ -129,4 +109,29 @@ This patch disables zlib-stream field on wss, making it easier to parse it.
- 18.0-alpha11
- 18.0-alpha12
- 19.0
- 20-alpha1-alpha4
- 16
- 17.0
- 18.0-alpha1
- 18.0-alpha9
- 18.0-alpha11
- 18.0-alpha12
- 19.0
- 20-alpha1-alpha6
- 16
- 17.0
- 18.0-alpha1
- 18.0-alpha9
- 18.0-alpha11
- 18.0-alpha12
- 19.0
- 20-alpha1-alpha7
- 16
- 17.0
- 18.0-alpha1
- 18.0-alpha9
- 18.0-alpha11
- 18.0-alpha12
- 19.0
- 20-alpha1