nodebb-plugin-mentions 4.3.3 → 4.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/library.js +1 -1
  2. package/package.json +1 -1
package/library.js CHANGED
@@ -194,7 +194,7 @@ Mentions.notifyMessage = async (hookData) => {
194
194
  type: 'mention',
195
195
  bodyShort: `[[notifications:user_mentioned_you_in, ${message.fromUser.displayname}, ${roomName}]]`,
196
196
  bodyLong: message.content,
197
- nid: `chat:room:${roomId}:mid:${message.messageId}:uid:${message.fromuid}`,
197
+ nid: `chat_${roomId}_${message.fromuid}_${message.messageId}`,
198
198
  mid: message.messageId,
199
199
  from: message.fromuid,
200
200
  path: `/chats/${roomId}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-mentions",
3
- "version": "4.3.3",
3
+ "version": "4.3.4",
4
4
  "description": "NodeBB Plugin that allows users to mention other users by prepending an '@' sign to their username",
5
5
  "main": "library.js",
6
6
  "scripts": {