Pass message attrs to shouldNotifyOfGroupMessage

This commit is contained in:
JC Brand 2021-02-01 17:50:43 +01:00
parent 5d1b5ac6c9
commit 9568d57e5f

View File

@ -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;