|
|
@@ -22,7 +22,12 @@ class InAppNotificationService {
|
|
|
updateCommentEvent(): void {
|
|
|
this.commentEvent.on('update', (user) => {
|
|
|
this.commentEvent.onUpdate();
|
|
|
+
|
|
|
+ if (this.socketIoService.isInitialized) {
|
|
|
+ this.socketIoService.getDefaultSocket().emit('comment updated', { user });
|
|
|
+ }
|
|
|
});
|
|
|
+
|
|
|
}
|
|
|
|
|
|
removeActivity = async function(activity) {
|