thelounge-plugin-ntfy 1.7.3 → 1.7.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/package.json +1 -1
  2. package/src/handler.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thelounge-plugin-ntfy",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "description": "A plugin for The Lounge that sends push notifications via ntfy when highlighted",
5
5
  "keywords": [
6
6
  "thelounge",
package/src/handler.js CHANGED
@@ -26,7 +26,7 @@ function createHandler(client, network) {
26
26
  const channel = isPM
27
27
  ? network.channels.find((chan) => chan.name === data.nick)
28
28
  : network.channels.find(
29
- (chan) => chan.name === data.target.toLowerCase(),
29
+ (chan) => chan.name.toLowerCase() === data.target.toLowerCase(),
30
30
  );
31
31
 
32
32
  if (channel && channel.muted) {