From: Mikael Nordfeldth Date: Mon, 9 Mar 2015 17:47:44 +0000 (+0100) Subject: favorite and like are synonyms of each other X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fa080328cfd85ca61711bcf8a71995895a2fada1;p=quix0rs-gnu-social.git favorite and like are synonyms of each other --- 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';