forked from distok/cutthecord
		
	9.4.6.
yee. haw. god my smalitools addon is a lifesaver for notrack
This commit is contained in:
		
							parent
							
								
									1b2aa5f08a
								
							
						
					
					
						commit
						a468c009d7
					
				
					 42 changed files with 9840 additions and 2 deletions
				
			
		
							
								
								
									
										64
									
								
								patches/nospoiler/946.patch
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										64
									
								
								patches/nospoiler/946.patch
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,64 @@
 | 
			
		|||
diff -crB from/smali/com/discord/models/domain/ModelMessageEmbed.smali to/smali/com/discord/models/domain/ModelMessageEmbed.smali
 | 
			
		||||
*** from/smali/com/discord/models/domain/ModelMessageEmbed.smali	2019-08-12 17:12:54.490377695 +0300
 | 
			
		||||
--- to/smali/com/discord/models/domain/ModelMessageEmbed.smali	2019-08-12 17:13:36.353988001 +0300
 | 
			
		||||
***************
 | 
			
		||||
*** 1904,1933 ****
 | 
			
		||||
  .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
 | 
			
		||||
--- 1904,1910 ----
 | 
			
		||||
  .end method
 | 
			
		||||
  
 | 
			
		||||
  .method public isSpoilerAttachment()Z
 | 
			
		||||
!     .locals 0
 | 
			
		||||
      const/4 v0, 0x0
 | 
			
		||||
  
 | 
			
		||||
      return v0
 | 
			
		||||
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	2019-08-12 17:12:54.843713385 +0300
 | 
			
		||||
--- to/smali/com/discord/utilities/textprocessing/node/SpoilerNode.smali	2019-08-12 17:13:36.353988001 +0300
 | 
			
		||||
***************
 | 
			
		||||
*** 205,212 ****
 | 
			
		||||
  .method public final isRevealed()Z
 | 
			
		||||
      .locals 1
 | 
			
		||||
  
 | 
			
		||||
!     .line 23
 | 
			
		||||
!     iget-boolean v0, p0, Lcom/discord/utilities/textprocessing/node/SpoilerNode;->isRevealed:Z
 | 
			
		||||
  
 | 
			
		||||
      return v0
 | 
			
		||||
  .end method
 | 
			
		||||
--- 205,211 ----
 | 
			
		||||
  .method public final isRevealed()Z
 | 
			
		||||
      .locals 1
 | 
			
		||||
  
 | 
			
		||||
!     const/4 v0, 0x1
 | 
			
		||||
  
 | 
			
		||||
      return v0
 | 
			
		||||
  .end method
 | 
			
		||||
| 
						 | 
				
			
			@ -39,4 +39,5 @@ I personally won't be using it as I like to use them as CWs, but I do acknowledg
 | 
			
		|||
- 9.4.2-SA
 | 
			
		||||
- 9.4.3-SA
 | 
			
		||||
- 9.4.5
 | 
			
		||||
- 9.4.6
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue