fix crash on 10.1.3

closes #44
This commit is contained in:
ave 2019-12-21 23:02:59 +03:00
parent 8518d759e1
commit 817f412c12
Signed by untrusted user: a
GPG Key ID: 398DD7BD03276F6D
1 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
diff -crB com.discord-1013-base/smali/com/discord/stores/StoreMessages.smali com.discord-1013/smali/com/discord/stores/StoreMessages.smali diff -crB com.discord-1013-base/smali/com/discord/stores/StoreMessages.smali com.discord-1013/smali/com/discord/stores/StoreMessages.smali
*** com.discord-1013-base/smali/com/discord/stores/StoreMessages.smali 2019-12-21 21:31:17.463361994 +0300 *** com.discord-1013-base/smali/com/discord/stores/StoreMessages.smali 2019-12-21 21:31:17.463361994 +0300
--- com.discord-1013/smali/com/discord/stores/StoreMessages.smali 2019-12-21 22:11:55.958319524 +0300 --- com.discord-1013/smali/com/discord/stores/StoreMessages.smali 2019-12-21 23:02:41.563047799 +0300
*************** ***************
*** 592,597 **** *** 592,597 ****
--- 592,601 ---- --- 592,601 ----
@ -2775,7 +2775,7 @@ diff -crB com.discord-1013-base/smali/com/discord/stores/StoreMessages.smali com
\ No newline at end of file \ No newline at end of file
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 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
*** com.discord-1013-base/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2019-12-21 21:31:17.793363916 +0300 *** com.discord-1013-base/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2019-12-21 21:31:17.793363916 +0300
--- com.discord-1013/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2019-12-21 22:12:21.881808592 +0300 --- com.discord-1013/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2019-12-21 23:02:44.239730406 +0300
*************** ***************
*** 305,310 **** *** 305,310 ****
--- 305,340 ---- --- 305,340 ----
@ -2825,15 +2825,15 @@ diff -crB com.discord-1013-base/smali/com/discord/widgets/chat/input/WidgetChatI
+ +
+ const-string v15, "/ctc " + const-string v15, "/ctc "
+ +
+ invoke-virtual {v12, v15}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z + invoke-virtual {v13, v15}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
+ +
+ move-result v15 + move-result v15
+ +
+ if-eqz v15, :cond_8 + if-eqz v15, :cond_8
+ +
+ invoke-static {v12}, Lcom/discord/stores/StoreMessages;->slashCtc(Ljava/lang/String;)Ljava/lang/String; + invoke-static {v13}, Lcom/discord/stores/StoreMessages;->slashCtc(Ljava/lang/String;)Ljava/lang/String;
+ +
+ move-result-object v12 + move-result-object v13
+ +
+ move-object/from16 v14, p0 + move-object/from16 v14, p0
+ +
@ -2843,7 +2843,7 @@ diff -crB com.discord-1013-base/smali/com/discord/widgets/chat/input/WidgetChatI
+ +
+ iget-object v0, v14, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1;->$chatInput:Lcom/discord/widgets/chat/input/WidgetChatInputEditText; + 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 + invoke-static {v15, v0, v13}, 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 + move-result v15
+ +