forked from distok/cutthecord
I'm a silly person that forgot to commit this
This commit is contained in:
parent
2b89b9b6a0
commit
8518d759e1
1 changed files with 84 additions and 21 deletions
|
@ -1,9 +1,6 @@
|
||||||
Only in com.discord-1006: build
|
diff -crB com.discord-1013-base/smali/com/discord/stores/StoreMessages.smali com.discord-1013/smali/com/discord/stores/StoreMessages.smali
|
||||||
Only in com.discord-1006: dist
|
*** com.discord-1013-base/smali/com/discord/stores/StoreMessages.smali 2019-12-21 21:31:17.463361994 +0300
|
||||||
Only in com.discord-1006-base/smali/com: crashlytics
|
--- com.discord-1013/smali/com/discord/stores/StoreMessages.smali 2019-12-21 22:11:55.958319524 +0300
|
||||||
diff -crB com.discord-1006-base/smali/com/discord/stores/StoreMessages.smali com.discord-1006/smali/com/discord/stores/StoreMessages.smali
|
|
||||||
*** com.discord-1006-base/smali/com/discord/stores/StoreMessages.smali 2019-12-13 11:10:57.260791171 +0300
|
|
||||||
--- com.discord-1006/smali/com/discord/stores/StoreMessages.smali 2019-12-13 11:56:04.105650591 +0300
|
|
||||||
***************
|
***************
|
||||||
*** 592,597 ****
|
*** 592,597 ****
|
||||||
--- 592,601 ----
|
--- 592,601 ----
|
||||||
|
@ -2776,19 +2773,85 @@ diff -crB com.discord-1006-base/smali/com/discord/stores/StoreMessages.smali com
|
||||||
+ return-object p0
|
+ return-object p0
|
||||||
+ .end method
|
+ .end method
|
||||||
\ No newline at end of file
|
\ No newline at end of file
|
||||||
Only in com.discord-1006/smali/com/discord/stores: StoreMessages.smali.orig
|
diff -crB com.discord-1013-base/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali com.discord-1013/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali
|
||||||
Only in com.discord-1006/smali/com/discord/stores: StoreMessages.smali.rej
|
*** com.discord-1013-base/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2019-12-21 21:31:17.793363916 +0300
|
||||||
Only in com.discord-1006/smali/com/discord/widgets/chat/input: WidgetChatInputSend$configureSendListeners$1.smali.orig
|
--- com.discord-1013/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2019-12-21 22:12:21.881808592 +0300
|
||||||
Only in com.discord-1006/smali/com/discord/widgets/chat/input: WidgetChatInputSend$configureSendListeners$1.smali.rej
|
***************
|
||||||
Only in com.discord-1006-base/smali/com: facebook
|
*** 305,310 ****
|
||||||
Only in com.discord-1006/smali_classes2/com: crashlytics
|
--- 305,340 ----
|
||||||
Only in com.discord-1006/smali_classes2/com/facebook: animated
|
|
||||||
Only in com.discord-1006/smali_classes2/com/facebook: cache
|
move-result-object v10
|
||||||
Only in com.discord-1006/smali_classes2/com/facebook: common
|
|
||||||
Only in com.discord-1006/smali_classes2/com/facebook: datasource
|
+ # intercept edit here
|
||||||
Only in com.discord-1006/smali_classes2/com/facebook: drawee
|
+
|
||||||
Only in com.discord-1006/smali_classes2/com/facebook: fbcore
|
+ const-string v15, "/ctc "
|
||||||
Only in com.discord-1006/smali_classes2/com/facebook: fresco
|
+
|
||||||
Only in com.discord-1006/smali_classes2/com/facebook/imagepipeline: animated
|
+ invoke-virtual {v10, v15}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||||||
Only in com.discord-1006/smali_classes2/com/facebook/imagepipeline: R.smali
|
+
|
||||||
|
+ move-result v15
|
||||||
|
+
|
||||||
|
+ if-eqz v15, :cond_7
|
||||||
|
+
|
||||||
|
+ invoke-static {v10}, Lcom/discord/stores/StoreMessages;->slashCtc(Ljava/lang/String;)Ljava/lang/String;
|
||||||
|
+
|
||||||
|
+ move-result-object v10
|
||||||
|
+
|
||||||
|
+ move-object/from16 v14, p0
|
||||||
|
+
|
||||||
|
+ move-object/from16 v15, p1
|
||||||
|
+
|
||||||
|
+ sget-object v15, Lcom/discord/widgets/chat/input/WidgetChatInputSend;->INSTANCE:Lcom/discord/widgets/chat/input/WidgetChatInputSend;
|
||||||
|
+
|
||||||
|
+ iget-object v0, v14, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1;->$chatInput:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||||
|
+
|
||||||
|
+ invoke-static {v15, v0, v10}, Lcom/discord/widgets/chat/input/WidgetChatInputSend;->access$SetInput(Lcom/discord/widgets/chat/input/WidgetChatInputSend;Lcom/discord/widgets/chat/input/WidgetChatInputEditText;Ljava/lang/CharSequence;)Z
|
||||||
|
+
|
||||||
|
+ move-result v15
|
||||||
|
+
|
||||||
|
+ return v15
|
||||||
|
+
|
||||||
|
+ :cond_7
|
||||||
|
+
|
||||||
|
invoke-static {v10, v4}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
|
||||||
|
.line 18
|
||||||
|
***************
|
||||||
|
*** 353,358 ****
|
||||||
|
--- 383,418 ----
|
||||||
|
|
||||||
|
move-result-object v13
|
||||||
|
|
||||||
|
+ # intercept send here
|
||||||
|
+
|
||||||
|
+ const-string v15, "/ctc "
|
||||||
|
+
|
||||||
|
+ invoke-virtual {v12, v15}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||||||
|
+
|
||||||
|
+ move-result v15
|
||||||
|
+
|
||||||
|
+ if-eqz v15, :cond_8
|
||||||
|
+
|
||||||
|
+ invoke-static {v12}, Lcom/discord/stores/StoreMessages;->slashCtc(Ljava/lang/String;)Ljava/lang/String;
|
||||||
|
+
|
||||||
|
+ move-result-object v12
|
||||||
|
+
|
||||||
|
+ move-object/from16 v14, p0
|
||||||
|
+
|
||||||
|
+ move-object/from16 v15, p1
|
||||||
|
+
|
||||||
|
+ sget-object v15, Lcom/discord/widgets/chat/input/WidgetChatInputSend;->INSTANCE:Lcom/discord/widgets/chat/input/WidgetChatInputSend;
|
||||||
|
+
|
||||||
|
+ iget-object v0, v14, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1;->$chatInput:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||||
|
+
|
||||||
|
+ invoke-static {v15, v0, v12}, Lcom/discord/widgets/chat/input/WidgetChatInputSend;->access$SetInput(Lcom/discord/widgets/chat/input/WidgetChatInputSend;Lcom/discord/widgets/chat/input/WidgetChatInputEditText;Ljava/lang/CharSequence;)Z
|
||||||
|
+
|
||||||
|
+ move-result v15
|
||||||
|
+
|
||||||
|
+ return v15
|
||||||
|
+
|
||||||
|
+ :cond_8
|
||||||
|
+
|
||||||
|
invoke-static {v13, v4}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
|
||||||
|
.line 27
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue