Pass message attrs to shouldNotifyOfGroupMessage
This commit is contained in:
parent
5d1b5ac6c9
commit
9568d57e5f
@ -80,7 +80,7 @@ export async function shouldNotifyOfGroupMessage (attrs) {
|
|||||||
* return should_notify && flurb === floob;
|
* 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 should_notify;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user