forked from distok/cutthecord
Dockerise
This commit is contained in:
parent
8ec2dd75c2
commit
55e2e94b63
3921 changed files with 178 additions and 111 deletions
58
resources/patches/nospoiler/87202.patch
Normal file
58
resources/patches/nospoiler/87202.patch
Normal file
|
@ -0,0 +1,58 @@
|
|||
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/com/discord/utilities/textprocessing/node/SpoilerNode.smali to/smali/com/discord/utilities/textprocessing/node/SpoilerNode.smali
|
||||
*** from/smali/com/discord/utilities/textprocessing/node/SpoilerNode.smali 2020-12-10 17:59:08.345855134 +0000
|
||||
--- to/smali/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
|
Loading…
Add table
Add a link
Reference in a new issue