nozlib: add patch
This commit is contained in:
parent
aad4591711
commit
0bc36a0738
2 changed files with 27 additions and 0 deletions
20
patches/nozlib/835.patch
Normal file
20
patches/nozlib/835.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
diff -crB -x dist -x build com.discord-835-base/smali/com/discord/gateway/GatewaySocket.smali com.discord-835/smali/com/discord/gateway/GatewaySocket.smali
|
||||
*** com.discord-835-base/smali/com/discord/gateway/GatewaySocket.smali 2019-01-25 10:57:34.512582250 +0300
|
||||
--- com.discord-835/smali/com/discord/gateway/GatewaySocket.smali 2019-01-25 11:55:34.384472798 +0300
|
||||
***************
|
||||
*** 1033,1039 ****
|
||||
|
||||
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
! const-string p1, "/?encoding=json&v=6&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=6"
|
||||
|
||||
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
7
patches/nozlib/README.md
Normal file
7
patches/nozlib/README.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
## DisTok CutTheCord: No zlib-stream Patch
|
||||
|
||||
This patch disables zlib-stream field on wss, making it easier to parse it.
|
||||
|
||||
#### Available and tested on:
|
||||
- 8.3.5g
|
||||
|
Reference in a new issue