Skip to content

Commit f457a51

Browse files
committed
fix: Use Notification Service Layer rather than Storage Layer - MEED-7279 - Meeds-io/MIPs#134
1 parent 286a6b6 commit f457a51

File tree

3 files changed

+186
-127
lines changed

3 files changed

+186
-127
lines changed

component/notification/src/main/java/org/exoplatform/social/notification/impl/RelationshipNotificationImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ private void updateNotification(NotificationInfo notification) {
129129
notification.setRead(false);
130130
notification.setOnPopOver(true);
131131
getWebNotificationService().save(notification);
132-
WebNotificationSender.sendJsonMessage(notification.getTo(), new MessageInfo());
133132
} catch (Exception e) {
134133
LOG.error("Can not update relationship notification.", e.getMessage());
135134
}

component/notification/src/main/java/org/exoplatform/social/notification/impl/SpaceNotificationImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ private void updateNotification(NotificationInfo notification) {
148148
notification.setRead(false);
149149
notification.setOnPopOver(true);
150150
getWebNotificationService().save(notification);
151-
WebNotificationSender.sendJsonMessage(notification.getTo(), new MessageInfo());
152151
} catch (Exception e) {
153152
LOG.error("Can not update space invitation notification.", e.getMessage());
154153
}

0 commit comments

Comments
 (0)