forked from distok/cutthecord
Add 9.9.1.
Still no slashcommands -> I'll be splitting it off into two patches, so that the requirement of its presence for CTC boot can be removed as I work on reimplementing the actual slash command part.
This commit is contained in:
parent
5904f24142
commit
05dd5c6f99
37 changed files with 56570 additions and 3 deletions
69
patches/nospoiler/991.patch
Normal file
69
patches/nospoiler/991.patch
Normal file
|
@ -0,0 +1,69 @@
|
|||
diff -crB com.discord-984-base/smali/com/discord/models/domain/ModelMessageEmbed.smali com.discord-984/smali/com/discord/models/domain/ModelMessageEmbed.smali
|
||||
*** com.discord-984-base/smali/com/discord/models/domain/ModelMessageEmbed.smali 2019-11-14 22:32:20.929850045 +0300
|
||||
--- com.discord-984/smali/com/discord/models/domain/ModelMessageEmbed.smali 2019-11-14 22:57:57.018355085 +0300
|
||||
***************
|
||||
*** 1897,1926 ****
|
||||
.end method
|
||||
|
||||
.method public isSpoilerAttachment()Z
|
||||
! .locals 2
|
||||
!
|
||||
! .line 135
|
||||
! invoke-virtual {p0}, Lcom/discord/models/domain/ModelMessageEmbed;->isAttachment()Z
|
||||
!
|
||||
! move-result v0
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! iget-object v0, p0, Lcom/discord/models/domain/ModelMessageEmbed;->title:Ljava/lang/String;
|
||||
!
|
||||
! const-string v1, "SPOILER_"
|
||||
!
|
||||
! invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||||
!
|
||||
! move-result v0
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! const/4 v0, 0x1
|
||||
!
|
||||
! return v0
|
||||
!
|
||||
! :cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
return v0
|
||||
--- 1897,1903 ----
|
||||
.end method
|
||||
|
||||
.method public isSpoilerAttachment()Z
|
||||
! .locals 0
|
||||
const/4 v0, 0x0
|
||||
|
||||
return v0
|
||||
diff -crB com.discord-984-base/smali/com/discord/utilities/textprocessing/node/SpoilerNode.smali com.discord-984/smali/com/discord/utilities/textprocessing/node/SpoilerNode.smali
|
||||
*** com.discord-984-base/smali/com/discord/utilities/textprocessing/node/SpoilerNode.smali 2019-11-14 22:32:21.443186186 +0300
|
||||
--- com.discord-984/smali/com/discord/utilities/textprocessing/node/SpoilerNode.smali 2019-11-14 22:58:12.061779249 +0300
|
||||
***************
|
||||
*** 203,211 ****
|
||||
|
||||
.method public final isRevealed()Z
|
||||
.locals 1
|
||||
!
|
||||
! .line 22
|
||||
! iget-boolean v0, p0, Lcom/discord/utilities/textprocessing/node/SpoilerNode;->isRevealed:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
--- 203,210 ----
|
||||
|
||||
.method public final isRevealed()Z
|
||||
.locals 1
|
||||
!
|
||||
! const/4 v0, 0x1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
Only in com.discord-984/smali/com/discord/utilities/textprocessing/node: SpoilerNode.smali.orig
|
||||
Only in com.discord-984/smali/com/discord/utilities/textprocessing/node: SpoilerNode.smali.rej
|
||||
|
|
@ -52,4 +52,5 @@ I personally won't be using it as I like to use them as CWs, but I do acknowledg
|
|||
- 9.8.0
|
||||
- 9.8.4
|
||||
- 9.8.6
|
||||
- 9.9.1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue