cutthecord/patches/nozlib/856.patch

35 lines
1.7 KiB
Diff
Raw Normal View History

diff -crB /home/ave/workbench/ctc/com.discord-856/smali/com/discord/gateway/GatewaySocket.smali /tmp/patchport/smali/com/discord/gateway/GatewaySocket.smali
*** /home/ave/workbench/ctc/com.discord-856/smali/com/discord/gateway/GatewaySocket.smali 2019-03-08 14:06:28.034696454 +0300
--- /tmp/patchport/smali/com/discord/gateway/GatewaySocket.smali 2019-03-08 14:56:10.139195303 +0300
***************
*** 1050,1056 ****
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;
--- 1050,1056 ----
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;
diff -crB /home/ave/workbench/ctc/com.discord-856/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali /tmp/patchport/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali
*** /home/ave/workbench/ctc/com.discord-856/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2019-03-08 14:06:28.028029746 +0300
--- /tmp/patchport/smali/com/discord/gateway/io/OutgoingPayload$Identify.smali 2019-03-08 14:56:10.139195303 +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