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:
@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user