From fa080328cfd85ca61711bcf8a71995895a2fada1 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 9 Mar 2015 18:47:44 +0100 Subject: [PATCH] favorite and like are synonyms of each other --- lib/activityverb.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/activityverb.php b/lib/activityverb.php index 513605b620..dc6f9c93f4 100644 --- a/lib/activityverb.php +++ b/lib/activityverb.php @@ -48,6 +48,7 @@ class ActivityVerb const SHARE = 'http://activitystrea.ms/schema/1.0/share'; const SAVE = 'http://activitystrea.ms/schema/1.0/save'; const FAVORITE = 'http://activitystrea.ms/schema/1.0/favorite'; + const LIKE = 'http://activitystrea.ms/schema/1.0/like'; // This is a synonym of favorite const PLAY = 'http://activitystrea.ms/schema/1.0/play'; const FOLLOW = 'http://activitystrea.ms/schema/1.0/follow'; const FRIEND = 'http://activitystrea.ms/schema/1.0/make-friend'; @@ -56,7 +57,8 @@ class ActivityVerb // Custom OStatus verbs for the flipside until they're standardized const DELETE = 'http://ostatus.org/schema/1.0/unfollow'; - const UNFAVORITE = 'http://ostatus.org/schema/1.0/unfavorite'; + const UNFAVORITE = 'http://activitystrea.ms/schema/1.0/unfavorite'; + const UNLIKE = 'http://activitystrea.ms/schema/1.0/unlike'; // This is a synonym of unfavorite const UNFOLLOW = 'http://ostatus.org/schema/1.0/unfollow'; const LEAVE = 'http://ostatus.org/schema/1.0/leave'; const UNTAG = 'http://ostatus.org/schema/1.0/untag'; -- 2.39.5