Loading server/core_notification.go +10 −8 Original line number Diff line number Diff line Loading @@ -70,6 +70,7 @@ func NotificationSend(ctx context.Context, logger *zap.Logger, db *sql.DB, messa } // Deliver live notifications to connected users. go func() { for userID, ns := range notifications { messageRouter.SendToStream(logger, PresenceStream{Mode: StreamModeNotifications, Subject: userID}, &rtapi.Envelope{ Message: &rtapi.Envelope_Notifications{ Loading @@ -79,6 +80,7 @@ func NotificationSend(ctx context.Context, logger *zap.Logger, db *sql.DB, messa }, }, true) } }() return nil } Loading Loading
server/core_notification.go +10 −8 Original line number Diff line number Diff line Loading @@ -70,6 +70,7 @@ func NotificationSend(ctx context.Context, logger *zap.Logger, db *sql.DB, messa } // Deliver live notifications to connected users. go func() { for userID, ns := range notifications { messageRouter.SendToStream(logger, PresenceStream{Mode: StreamModeNotifications, Subject: userID}, &rtapi.Envelope{ Message: &rtapi.Envelope_Notifications{ Loading @@ -79,6 +80,7 @@ func NotificationSend(ctx context.Context, logger *zap.Logger, db *sql.DB, messa }, }, true) } }() return nil } Loading