]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Activity.php
Configuration for the number of languages
[friendica.git] / src / Protocol / Activity.php
index c5fca4a5cc63dac44dd80e97dcbd87ff39ea4fc3..36bc5e99b384008b60eebcc11ca0330d64fadd4c 100644 (file)
@@ -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