The action:flags.create hook is no longer called after flag notifications have been delivered to the admins/mods. It is now called after the flag is created (as per the name).
Note that a flag is only created the first time a post or user is flagged. Subsequent flags add a report to the existing flag, which you can listen for with action:flags.addReport. This hook is called on all report additions, including during the initial flag creation.
Where action:flags.create used to be, we now call action:flags.notify and pass in additional properties from, to, and the notification object itself.julianlam committed to NodeBB/NodeBB feat: add additional flag hooks [breaking] `action:flags.create` on initial flag creation `action:flags.notify` on notification to admins and moderators `action:flags.addReport` on flag report addition (called during initial flag create, too)