]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Activity.php
Merge pull request #13561 from annando/log-callstack
[friendica.git] / src / Protocol / Activity.php
index 7212e919410fb2f236d65e6d1c1375743490436c..36bc5e99b384008b60eebcc11ca0330d64fadd4c 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -169,24 +169,31 @@ final class Activity
         * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-read
         * @var string
         */
-       const READ       = ActivityNamespace::ACTIVITY2 . 'read';
-
-       const O_UNFOLLOW    = ActivityNamespace::OSTATUS . '/unfollow';
-       const O_UNFAVOURITE = ActivityNamespace::OSTATUS . '/unfavorite';
-
+       const READ       = ActivityNamespace::ACTIVITY2 . 'Read';
        /**
-        * React to a post via an emoji 
+        *  Indicates that the actor has listened to the object. 
         *
+        * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-listen
         * @var string
         */
-       const EMOJIREACT = ActivityNamespace::LITEPUB . '/emojireact';
+       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';
 
        /**
-        * View notification from Peertube
+        * React to a post via an emoji
         *
         * @var string
         */
-       const VIEW       = ActivityNamespace::PEERTUBE . '/view';
+       const EMOJIREACT = ActivityNamespace::LITEPUB . '/emojireact';
 
        /**
         * likes (etc.) can apply to other things besides posts. Check if they are post children,