* @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 VIEW = ActivityNamespace::ACTIVITY2 . 'View';
const O_UNFOLLOW = ActivityNamespace::OSTATUS . '/unfollow';
const O_UNFAVOURITE = ActivityNamespace::OSTATUS . '/unfavorite';
function update_1515()
{
+ DBA::update('verb', ['name' => Activity::READ], ['name' => 'https://www.w3.org/ns/activitystreams#read']);
DBA::update('verb', ['name' => Activity::VIEW], ['name' => 'https://joinpeertube.org/view']);
return Update::SUCCESS;
}