Browse Source

added comment

kaori 4 years ago
parent
commit
d9625e4dd6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/app/src/server/service/in-app-notification.ts

+ 4 - 0
packages/app/src/server/service/in-app-notification.ts

@@ -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) {