feat: add quiet to action:settings.set

Makes it possible to ignore quiet updates without abusing the `filter` hook
isekai-main
Opliko 3 years ago committed by Julian Lam
parent 8fe41d92a2
commit 665f36b707

@ -95,6 +95,7 @@ Settings.set = async function (hash, values, quiet) {
plugins.hooks.fire('action:settings.set', {
plugin: hash,
settings: { ...values, ...sortedListData }, // Add back sorted list data to values hash
quiet,
});
pubsub.publish(`action:settings.set.${hash}`, values);

Loading…
Cancel
Save