From 30a9116cc7b82cd2af6db26cd420648911ed976e Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Thu, 31 Jan 2019 18:01:34 +0300 Subject: [PATCH] notyping: add patch --- patches/notyping/836.patch | 18 ++++++++++++++++++ patches/notyping/README.md | 7 +++++++ 2 files changed, 25 insertions(+) create mode 100644 patches/notyping/836.patch create mode 100644 patches/notyping/README.md diff --git a/patches/notyping/836.patch b/patches/notyping/836.patch new file mode 100644 index 0000000..867e7e6 --- /dev/null +++ b/patches/notyping/836.patch @@ -0,0 +1,18 @@ +diff -crB -x dist -x build com.discord-836-base/smali/com/discord/widgets/chat/input/WidgetChatInputEditText$1.smali com.discord-836/smali/com/discord/widgets/chat/input/WidgetChatInputEditText$1.smali +*** com.discord-836-base/smali/com/discord/widgets/chat/input/WidgetChatInputEditText$1.smali 2019-01-31 10:35:43.748266335 +0300 +--- com.discord-836/smali/com/discord/widgets/chat/input/WidgetChatInputEditText$1.smali 2019-01-31 17:55:38.125415675 +0300 +*************** +*** 125,136 **** + + move-result-object p1 + +- iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputEditText$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInputEditText; +- +- iget-wide v0, v0, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->channelId:J +- +- invoke-virtual {p1, v0, v1}, Lcom/discord/stores/StoreUserTyping;->setUserTyping(J)V +- + :cond_1 + return-void + .end method +--- 125,130 ---- diff --git a/patches/notyping/README.md b/patches/notyping/README.md new file mode 100644 index 0000000..3ff5277 --- /dev/null +++ b/patches/notyping/README.md @@ -0,0 +1,7 @@ +## DisTok CutTheCord: No Typing Patch + +This patch disables the typing event. + +#### Available and tested on: +- 8.3.6g +