X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FActivity.php;h=36bc5e99b384008b60eebcc11ca0330d64fadd4c;hb=ec16e7c0e6349d7080f634177ef943b446be3735;hp=c5fca4a5cc63dac44dd80e97dcbd87ff39ea4fc3;hpb=360614d2cf3aceeb763ef1281ad5236878f5d735;p=friendica.git diff --git a/src/Protocol/Activity.php b/src/Protocol/Activity.php index c5fca4a5cc..36bc5e99b3 100644 --- a/src/Protocol/Activity.php +++ b/src/Protocol/Activity.php @@ -169,7 +169,21 @@ final class Activity * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-read * @var string */ - const READ = ActivityNamespace::ACTIVITY2 . 'read'; + const READ = ActivityNamespace::ACTIVITY2 . 'Read'; + /** + * Indicates that the actor has listened to the object. + * + * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-listen + * @var string + */ + const LISTEN = ActivityNamespace::ACTIVITY2 . 'Listen'; + /** + * Indicates that the actor has viewed the object. + * + * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-view + * @var string + */ + const VIEW = ActivityNamespace::ACTIVITY2 . 'View'; const O_UNFOLLOW = ActivityNamespace::OSTATUS . '/unfollow'; const O_UNFAVOURITE = ActivityNamespace::OSTATUS . '/unfavorite'; @@ -181,13 +195,6 @@ final class Activity */ const EMOJIREACT = ActivityNamespace::LITEPUB . '/emojireact'; - /** - * View notification from Peertube - * - * @var string - */ - const VIEW = ActivityNamespace::PEERTUBE . '/view'; - /** * likes (etc.) can apply to other things besides posts. Check if they are post children, * in which case we handle them specially