diff options
author | Evan Prodromou <evan@status.net> | 2010-02-20 12:03:32 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-02-20 12:03:32 -0500 |
commit | 36d21fa7162ca94ce100433da53439a67e815ba1 (patch) | |
tree | 8b3b80b0bb29a4d56f73c0652d87a0ffda2b962d /EVENTS.txt | |
parent | 866b6470629b570b9f817553f85f6d8e801f0d43 (diff) |
Add events for favor and disfavor
Added events to core code for when someone favors or disfavors a
notice.
Diffstat (limited to 'EVENTS.txt')
-rw-r--r-- | EVENTS.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/EVENTS.txt b/EVENTS.txt index 90242fa13..c108606ce 100644 --- a/EVENTS.txt +++ b/EVENTS.txt @@ -729,3 +729,22 @@ StartGetProfileUri: When determining the canonical URI for a given profile EndGetProfileUri: After determining the canonical URI for a given profile - $profile: the current profile - &$uri: the URI + +StartFavorNotice: Saving a notice as a favorite +- $profile: profile of the person faving (can be remote!) +- $notice: notice being faved +- &$fave: Favor object; null to start off with, but feel free to override. + +EndFavorNotice: After saving a notice as a favorite +- $profile: profile of the person faving (can be remote!) +- $notice: notice being faved + +StartDisfavorNotice: Saving a notice as a favorite +- $profile: profile of the person faving (can be remote!) +- $notice: notice being faved +- &$result: result of the disfavoring (if you override) + +EndDisfavorNotice: After saving a notice as a favorite +- $profile: profile of the person faving (can be remote!) +- $notice: notice being faved + |