Browse Source

Pass message attrs to `shouldNotifyOfGroupMessage`

JC Brand 4 years ago
parent
commit
9568d57e5f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/plugins/notifications/utils.js

+ 1 - 1
src/plugins/notifications/utils.js

@@ -80,7 +80,7 @@ export async function shouldNotifyOfGroupMessage (attrs) {
          *      return should_notify && flurb === floob;
          *  });
          */
-        const should_notify = await api.hook('shouldNotifyOfGroupMessage', null, true);
+        const should_notify = await api.hook('shouldNotifyOfGroupMessage', attrs, true);
         return should_notify;
     }
     return false;