mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	upd: on no quote return false instead of null
This commit is contained in:
		
							parent
							
								
									141edc3b3a
								
							
						
					
					
						commit
						b0b96f00b9
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -38,7 +38,7 @@ namespace Entity {
 | 
			
		|||
    language: string | null
 | 
			
		||||
    pinned: boolean | null
 | 
			
		||||
    emoji_reactions: Array<Reaction>
 | 
			
		||||
    quote: Status | boolean | null
 | 
			
		||||
    quote: Status | boolean
 | 
			
		||||
    bookmarked: boolean
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -299,7 +299,7 @@ namespace MisskeyAPI {
 | 
			
		|||
        pinned: null,
 | 
			
		||||
        emoji_reactions: typeof n.reactions === 'object' ? mapReactions(n.reactions, n.myReaction) : [],
 | 
			
		||||
        bookmarked: false,
 | 
			
		||||
        quote: n.renote && n.text ? note(n.renote, host) : null
 | 
			
		||||
        quote: n.renote && n.text ? note(n.renote, host) : false
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue