mirror of
				https://gitlab.com/comunic/comunicapiv2
				synced 2025-11-04 03:24:04 +00:00 
			
		
		
		
	Fix bad check
This commit is contained in:
		@@ -91,7 +91,7 @@ export class NotificationsHelper {
 | 
				
			|||||||
	private static async SimilarExists(n: Notif) : Promise<boolean> {
 | 
						private static async SimilarExists(n: Notif) : Promise<boolean> {
 | 
				
			||||||
		return await DatabaseHelper.Count({
 | 
							return await DatabaseHelper.Count({
 | 
				
			||||||
			table: NOTIFICATIONS_TABLE,
 | 
								table: NOTIFICATIONS_TABLE,
 | 
				
			||||||
			where: this.NotifToDB(n)
 | 
								where: this.NotifToDB(n, false)
 | 
				
			||||||
		}) > 0;
 | 
							}) > 0;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user