You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the flarum/flags extension only has an event for when a flag is being deleted (FlagsWillBeDeleted).
It would be useful to have an event for when a flag is created as well (more precisely, when a user flags a post).
A possible use-case would be, for example, an extension that generates an "external" notification for admins/moderators when a flag is created. (With external I mean an email or a message in a Telegram group, for example.)
Currently, the
flarum/flags
extension only has an event for when a flag is being deleted (FlagsWillBeDeleted
).It would be useful to have an event for when a flag is created as well (more precisely, when a user flags a post).
A possible use-case would be, for example, an extension that generates an "external" notification for admins/moderators when a flag is created. (With external I mean an email or a message in a Telegram group, for example.)
Relevant discussion on discuss: https://discuss.flarum.org/d/25981-listening-to-flag-creation
The text was updated successfully, but these errors were encountered: