@nodebb/nodebb-plugin-reactions 2.1.15 → 2.2.0

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.
package/README.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # nodebb-plugin-reactions
2
2
  Reactions plugin for NodeBB
3
3
 
4
+ # Installation
5
+ Install via one-click activation in the Admin Control Panel or run the following command:
6
+
7
+ npm i @nodebb/nodebb-plugin-reactions
8
+
4
9
  # Screenshots
5
10
 
6
11
  ## Reactions:
@@ -13,6 +13,8 @@
13
13
  "settings.reaction-reputations.add": "הוסף כלל",
14
14
  "settings.reaction-reputations.reaction": "תגובה",
15
15
  "settings.reaction-reputations.reputation": "מוניטין",
16
- "settings.reaction-reputations.remove": "הסר",
17
- "settings.reaction-reputations.edit": "ערוך"
18
- }
16
+ "settings.reaction-reputations.remove": "הסרה",
17
+ "settings.reaction-reputations.edit": "עריכה",
18
+ "notification.user-has-reacted-with-to-your-post-in-topic": "<strong>%1</strong> הגיב עם %2 לפוסט שלך ב<strong>%3</strong>",
19
+ "notification.user-has-reacted-with-to-your-message-in-room": "<strong>%1</strong> הגיב עם %2 להודעה שלך ב<strong class=\"text-nowrap \"><i class=\"fa %3\"></i>%4</strong>"
20
+ }
package/library.js CHANGED
@@ -490,7 +490,7 @@ SocketPlugins.reactions = {
490
490
  mid: data.mid,
491
491
  roomId: roomId,
492
492
  from: socket.uid,
493
- path: `/chats/${roomId}`,
493
+ path: `/message/${data.mid}`,
494
494
  });
495
495
 
496
496
  await notifications.push(notifObj, [msgData.fromuid]);
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@nodebb/nodebb-plugin-reactions",
3
- "version": "2.1.15",
3
+ "version": "2.2.0",
4
4
  "nbbpm": {
5
- "compatibility": "^3.3.0"
5
+ "compatibility": "^3.6.0"
6
6
  },
7
7
  "description": "Reactions plugin for NodeBB",
8
8
  "main": "library.js",