Update is-user-related.ts
This commit is contained in:
		
							parent
							
								
									36b9314cea
								
							
						
					
					
						commit
						4830eb9f34
					
				|  | @ -13,7 +13,7 @@ interface NoteLike { | |||
| 	renoteUserId?: MiUser['id'] | null; | ||||
| } | ||||
| 
 | ||||
| export function isUserRelated(note: NoteLike | null, userIds: Set<string>, ignoreAuthor = false): boolean { | ||||
| export function isUserRelated(note: NoteLike | null | undefined, userIds: Set<string>, ignoreAuthor = false): boolean { | ||||
| 	if (!note) { | ||||
| 		return false; | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue