slashcommands: try to solve crash on boot

This commit is contained in:
ave 2019-10-31 12:40:32 +03:00
parent 687fff10fc
commit 2f8444a050
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -47,7 +47,7 @@ diff -crB com.discord-980-base/smali/com/discord/models/domain/ModelChannel.smal
diff -crB com.discord-980-base/smali/com/discord/stores/StoreMessages.smali com.discord-980/smali/com/discord/stores/StoreMessages.smali diff -crB com.discord-980-base/smali/com/discord/stores/StoreMessages.smali com.discord-980/smali/com/discord/stores/StoreMessages.smali
*** com.discord-980-base/smali/com/discord/stores/StoreMessages.smali 2019-10-31 11:15:16.735806580 +0300 *** com.discord-980-base/smali/com/discord/stores/StoreMessages.smali 2019-10-31 11:15:16.735806580 +0300
--- com.discord-980/smali/com/discord/stores/StoreMessages.smali 2019-10-31 12:15:32.691348882 +0300 --- com.discord-980/smali/com/discord/stores/StoreMessages.smali 2019-10-31 12:40:15.812894252 +0300
*************** ***************
*** 480,485 **** *** 480,485 ****
--- 480,489 ---- --- 480,489 ----
@ -2932,13 +2932,15 @@ diff -crB com.discord-980-base/smali/com/discord/stores/StoreMessages.smali com.
.annotation system Ldalvik/annotation/Signature; .annotation system Ldalvik/annotation/Signature;
*************** ***************
*** 1115,1120 **** *** 1115,1120 ****
--- 3979,3988 ---- --- 3979,3990 ----
invoke-static {v2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {v2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
+ invoke-static {v2}, Lcom/discord/stores/StoreMessages;->interceptSendMessage(Ljava/lang/String;)Ljava/lang/String; + invoke-static {v2}, Lcom/discord/stores/StoreMessages;->interceptSendMessage(Ljava/lang/String;)Ljava/lang/String;
+ +
+ move-result-object p4 + move-result-object v2
+
+ move-object/16 p4, v2
+ +
const/4 v0, 0x1 const/4 v0, 0x1