cutthecord/patches/nozlib/843.patch
Ave Ozkal 5517d27956
Extend nozlib patches
This fixes litecord for good.
2019-02-07 21:56:00 +03:00

33 lines
1.4 KiB
Diff

*** com.discord-843-base/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2019-02-06 23:27:50.133663525 +0300
--- com.discord-843/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2019-02-07 21:50:57.092587624 +0300
***************
*** 59,64 ****
--- 59,66 ----
const/4 v0, 0x0
+ const/4 p3, 0x0
+
.line 27
invoke-direct {p0, v0}, Lcom/discord/gateway/io/OutgoingPayload;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
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;