mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Can delete all the notifications
This commit is contained in:
		@@ -102,4 +102,10 @@ class NotificationsHelper {
 | 
			
		||||
        },
 | 
			
		||||
      ).exec())
 | 
			
		||||
          .isOK;
 | 
			
		||||
 | 
			
		||||
  /// Delete all unread notifications
 | 
			
		||||
  Future<bool> deleteAllNotifications() async =>
 | 
			
		||||
      (await APIRequest(uri: "notifications/delete_all", needLogin: true)
 | 
			
		||||
              .exec())
 | 
			
		||||
          .isOK;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user