Skip to content

Commit

Permalink
IAN mention includes comment origin name (#361)
Browse files Browse the repository at this point in the history
* mention includes comment origin name

* version bump
  • Loading branch information
hero101 authored Dec 12, 2024
1 parent e09859d commit 31dcbe4
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 14 deletions.
4 changes: 2 additions & 2 deletions lib/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alkemio/notifications-lib",
"version": "0.10.0",
"version": "0.10.1",
"description": "Library for interacting with Alkemio notifications service",
"author": "Alkemio Foundation",
"private": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface InAppNotificationContributorMentionedPayload extends InAppNotif
comment: string; // probably will be removed; can be too large; can be replaced with roomID, commentID
contributorType: CommunityContributorType
commentOrigin: {
type: string; // forum, reply, event, post, callout
displayName: string;
url: string;
}
}
16 changes: 8 additions & 8 deletions service/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"dependencies": {
"@alkemio/client-lib": "^0.32.0",
"@alkemio/notifications-lib": "0.10.0",
"@alkemio/notifications-lib": "0.10.1",
"@nestjs/common": "^8.0.5",
"@nestjs/config": "^1.0.1",
"@nestjs/core": "^8.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ const contributorMentionBuilder = (
category,
triggeredByID,
comment,
commentOrigin: { url: commentOrigin.url, type: '' },
commentOrigin: {
url: commentOrigin.url,
displayName: commentOrigin.displayName,
},
contributorType: contributorType as CommunityContributorType,
receiverID: '',
};
Expand Down

0 comments on commit 31dcbe4

Please sign in to comment.