forked from distok/cutthecord
		
	35.0-alpha1 (1223)
This commit is contained in:
		
							parent
							
								
									68088a72da
								
							
						
					
					
						commit
						e0da880575
					
				
					 54 changed files with 59236 additions and 2 deletions
				
			
		
							
								
								
									
										69
									
								
								patches/nospoiler/1223.patch
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										69
									
								
								patches/nospoiler/1223.patch
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,69 @@
 | 
			
		|||
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	2020-07-20 22:00:52.510000000 +0300
 | 
			
		||||
--- to/smali/com/discord/models/domain/ModelMessageEmbed.smali	2020-07-20 22:01:18.530000000 +0300
 | 
			
		||||
***************
 | 
			
		||||
*** 1990,2022 ****
 | 
			
		||||
  .end method
 | 
			
		||||
  
 | 
			
		||||
  .method public isSpoilerAttachment()Z
 | 
			
		||||
!     .locals 2
 | 
			
		||||
! 
 | 
			
		||||
!     .line 1
 | 
			
		||||
!     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
 | 
			
		||||
! 
 | 
			
		||||
!     goto :goto_0
 | 
			
		||||
! 
 | 
			
		||||
!     :cond_0
 | 
			
		||||
      const/4 v0, 0x0
 | 
			
		||||
  
 | 
			
		||||
-     :goto_0
 | 
			
		||||
      return v0
 | 
			
		||||
  .end method
 | 
			
		||||
  
 | 
			
		||||
--- 1990,1998 ----
 | 
			
		||||
  .end method
 | 
			
		||||
  
 | 
			
		||||
  .method public isSpoilerAttachment()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-07-20 22:00:53.570000000 +0300
 | 
			
		||||
--- to/smali/com/discord/utilities/textprocessing/node/SpoilerNode.smali	2020-07-20 22:01:18.530000000 +0300
 | 
			
		||||
***************
 | 
			
		||||
*** 209,216 ****
 | 
			
		||||
  .method public isRevealed()Z
 | 
			
		||||
      .locals 1
 | 
			
		||||
  
 | 
			
		||||
!     .line 1
 | 
			
		||||
!     iget-boolean v0, p0, Lcom/discord/utilities/textprocessing/node/SpoilerNode;->isRevealed:Z
 | 
			
		||||
  
 | 
			
		||||
      return v0
 | 
			
		||||
  .end method
 | 
			
		||||
--- 209,215 ----
 | 
			
		||||
  .method public isRevealed()Z
 | 
			
		||||
      .locals 1
 | 
			
		||||
  
 | 
			
		||||
!     const/4 v0, 0x1
 | 
			
		||||
  
 | 
			
		||||
      return v0
 | 
			
		||||
  .end method
 | 
			
		||||
| 
						 | 
				
			
			@ -172,4 +172,5 @@ I personally won't be using it as I like to use them as CWs, but I do acknowledg
 | 
			
		|||
- 34.0
 | 
			
		||||
- 34.2
 | 
			
		||||
- 34.3
 | 
			
		||||
- 35.0-alpha1
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue