|
@@ -20,10 +20,12 @@ class InAppNotificationService {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
initCommentEvent(): void {
|
|
initCommentEvent(): void {
|
|
|
|
|
+ // create
|
|
|
this.commentEvent.on('create', (user) => {
|
|
this.commentEvent.on('create', (user) => {
|
|
|
this.commentEvent.onCreate();
|
|
this.commentEvent.onCreate();
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+ // update
|
|
|
this.commentEvent.on('update', (user) => {
|
|
this.commentEvent.on('update', (user) => {
|
|
|
this.commentEvent.onUpdate();
|
|
this.commentEvent.onUpdate();
|
|
|
|
|
|
|
@@ -32,6 +34,8 @@ class InAppNotificationService {
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+ // remove
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
removeActivity = async function(activity) {
|
|
removeActivity = async function(activity) {
|