Skip to content

Commit

Permalink
Merge pull request #133 from IGAQ/ilia-fix-the-message
Browse files Browse the repository at this point in the history
fix the messagE
  • Loading branch information
iantelli authored Dec 2, 2022
2 parents be3fe99 + 5ca4dcf commit a9ebf10
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class NotificationMessageMakerService implements INotificationMessageMake
postTypeName: string;
commentContent: string;
}) =>
`someone replied to your ${p.postTypeName} '(uuid:${this.stashToken}:post:${
`${p.username} replied to your ${p.postTypeName} '(uuid:${this.stashToken}:post:${
p.postId
}:comm:${p.commentId}:text:${p.commentContent?.slice(0, 20) ?? ""})'`,
[EventTypes.NewCommentOnComment]: (p: {
Expand All @@ -27,7 +27,7 @@ export class NotificationMessageMakerService implements INotificationMessageMake
[EventTypes.CommentGotUpVote]: (p: { username: string; postId: UUID; commentId: UUID }) =>
`someone up voted your comment (uuid:${this.stashToken}:comm:${p.commentId}:post:${p.postId}:text:check it out!)`,
[EventTypes.CommentGotDownVote]: (p: { username: string; postId: UUID; commentId: UUID }) =>
`${p.username} down voted your comment (uuid:${this.stashToken}:comm:${p.commentId}:post:${p.postId}:text:go to comment)`,
`someone down voted your comment (uuid:${this.stashToken}:comm:${p.commentId}:post:${p.postId}:text:go to comment)`,
[EventTypes.CommentGotRestricted]: (p: { commentContent: string; reason: string }) =>
`A Moderator has restricted your comment due to: "${
p.reason
Expand Down

0 comments on commit a9ebf10

Please sign in to comment.