]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Activity.php
API: Accept "redirect_uris" as both array and string
[friendica.git] / src / Protocol / Activity.php
index 0f15e851c3df8ee3a5ec7900bcceffb27f68d040..c5fca4a5cc63dac44dd80e97dcbd87ff39ea4fc3 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
  *
@@ -163,21 +163,19 @@ final class Activity
         * @var string
         */
        const ANNOUNCE   = ActivityNamespace::ACTIVITY2 . 'Announce';
-
        /**
-        * Pokes an user.
+        * Indicates that the actor has read the object.
         *
-        * @see https://github.com/friendica/friendica/wiki/ActivityStreams#activity_poke
+        * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-read
         * @var string
         */
-       const POKE       = ActivityNamespace::ZOT . '/activity/poke';
-
+       const READ       = ActivityNamespace::ACTIVITY2 . 'read';
 
        const O_UNFOLLOW    = ActivityNamespace::OSTATUS . '/unfollow';
        const O_UNFAVOURITE = ActivityNamespace::OSTATUS . '/unfavorite';
 
        /**
-        * React to a post via an emoji 
+        * React to a post via an emoji
         *
         * @var string
         */
@@ -203,6 +201,7 @@ final class Activity
                self::ANNOUNCE,
                self::EMOJIREACT,
                self::VIEW,
+               self::READ,
        ];
 
        /**