diff --git a/src/plugins/notifications/utils.js b/src/plugins/notifications/utils.js index dacae2f37..1fc1d0aab 100644 --- a/src/plugins/notifications/utils.js +++ b/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;