cutthecord/resources/patches/nospoiler/95206.patch
46620 1863fb57ea 95.6 - Alpha (95206)
Also fixed patchport again
I'm also running out of steam for this project and don't really wanna continue it much longer.
If official CTC gets slashcommands, I'll update this, but don't expect many updates for the next few months.
2021-10-02 15:40:24 -04:00

58 lines
No EOL
1.7 KiB
Diff

diff -crB from/smali/com/discord/api/message/attachment/MessageAttachment.smali to/smali/com/discord/api/message/attachment/MessageAttachment.smali
*** from/smali/com/discord/api/message/attachment/MessageAttachment.smali 2021-08-04 19:45:36.435878400 +0100
--- to/smali/com/discord/api/message/attachment/MessageAttachment.smali 2021-08-04 21:31:37.148568400 +0100
***************
*** 376,398 ****
.end method
.method public final h()Z
! .locals 5
!
! .line 1
! iget-object v0, p0, Lcom/discord/api/message/attachment/MessageAttachment;->filename:Ljava/lang/String;
!
! const-string v1, "SPOILER_"
!
! const/4 v2, 0x0
!
! const/4 v3, 0x2
!
! const/4 v4, 0x0
!
! invoke-static {v0, v1, v2, v3, v4}, Ld0/g0/t;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Z
!
! move-result v0
!
return v0
.end method
--- 376,383 ----
.end method
.method public final h()Z
! .locals 1
! const/4 v0, 0x0
return v0
.end method
diff -crB from/smali_classes2/com/discord/utilities/textprocessing/node/SpoilerNode.smali to/smali_classes2/com/discord/utilities/textprocessing/node/SpoilerNode.smali
*** from/smali_classes2/com/discord/utilities/textprocessing/node/SpoilerNode.smali 2020-12-10 17:59:08.345855134 +0000
--- to/smali_classes2/com/discord/utilities/textprocessing/node/SpoilerNode.smali 2020-12-10 18:00:01.624468003 +0000
***************
*** 249,256 ****
.method public isRevealed()Z
.locals 1
! .line 1
! iget-boolean v0, p0, Lcom/discord/utilities/textprocessing/node/SpoilerNode;->isRevealed:Z
return v0
.end method
--- 249,255 ----
.method public isRevealed()Z
.locals 1
! const/4 v0, 0x1
return v0
.end method