You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Application/Events/External/Comments/CommentCreated.cs
+6-1
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,13 @@ public class CommentCreated : IEvent
Copy file name to clipboardexpand all lines: MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Application/Events/External/Comments/CommentUpdated.cs
+6-1
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,19 @@ public class CommentUpdated : IEvent
Copy file name to clipboardexpand all lines: MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Application/Events/External/Comments/Handlers/CommentCreatedHandler.cs
varnotificationMessage=$"A new comment has been made on '{entityName}' by {@event.UserName}. <img src='{@event.ProfileImageUrl}' alt='Profile Image' style='width:50px;height:50px;' />";
102
+
116
103
varnotification=newNotification(
117
104
notificationId:Guid.NewGuid(),
118
105
userId:entityOwnerId,
119
-
message:$"A new comment has been made on '{entityName}' by {commentDetails.StudentName}.",
Copy file name to clipboardexpand all lines: MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Application/Events/External/Comments/Handlers/CommentUpdatedHandler.cs
// Prepare and send organizer notification details HTML
149
-
varorganizerNotificationDetailsHtml=$"<p>{commentDetails.StudentName} updated their comment on your event '{eventDetails.Name}': {commentDetails.CommentContext}</p>";
152
+
// Prepare and send organizer notification details HTML, including profile image
153
+
varorganizerNotificationDetailsHtml=$"<p>{eventArgs.UserName} updated their comment on your event '{eventDetails.Name}': {eventArgs.CommentContent}.</p>"+
Copy file name to clipboardexpand all lines: MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Application/Events/External/Comments/LikeAdded.cs
+6-1
Original file line number
Diff line number
Diff line change
@@ -11,13 +11,18 @@ public class LikeAdded : IEvent
0 commit comments