mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 04:45:26 +08:00

This new app event will fire whenever a bookmark is created, edited, or deleted for a post or topic, and replaces these old app events which had inconsistent APIs: * page:bookmark-post-toggled * topic:bookmark-toggled When the event is triggered, the arguments are in this order: 1. bookmark - The bookmark record created or changed. Will be null if the bookmark was deleted. 2. target - Object with target (post or topic) and targetId (post ID or topic ID)