FriendsOfFlarum / webhooks

Flarum with outgoing webhooks
MIT License
21 stars 12 forks source link

New posts and discussions are ignored if they were pending approval #57

Closed jslirola closed 1 year ago

jslirola commented 1 year ago

Bug Report

Current Behavior Everything is working properly until you get a publication or post to approve. Once the message is accepted the extension is not sending an event and therefore are not published automatically.

Expected Behavior I expected to receive updates for discussions and posts after they are approved as common content.

Environment

Possible solution(s) I wonder if this new PR can help to fix the issue:

https://github.com/flarum/framework/pull/3656

jslirola commented 1 year ago

Any news after the 1.7 release of the framework? Maybe now it's easier to implement

jslirola commented 1 year ago

@imorland please take a look and let me know what do you think about this

hamedeshaghi commented 1 year ago

i have this problem, too and when i approve a discussion, no webhook is sent. any solution?

dsevillamartin commented 1 year ago

Made it so the extension sends 'approved' for webhooks configured with the mod permission, otherwise (guest) uses the language in 'posted' and the post author as the actor (to not give away that it was approved, and by whom)