1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2025-06-20 00:25:17 +00:00

Create notification when posting a new comment

This commit is contained in:
2020-03-23 19:08:04 +01:00
parent bd83a77fb2
commit edc68a0275
4 changed files with 51 additions and 9 deletions

View File

@ -11,6 +11,15 @@ const NOTIFICATIONS_TABLE = "comunic_notifications";
export class NotificationsHelper {
/**
* Push a new notification
*
* @param n Notification to push
*/
public static async Push(n: Notif) {
// TODO : push notification
}
/**
* Count the number of unread notifications of a user
*