aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php30
1 files changed, 14 insertions, 16 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 7e38ace34..835909849 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -1194,7 +1194,7 @@ class Activity {
$acts = [
'http://activitystrea.ms/schema/1.0/post' => 'Create',
- // 'http://activitystrea.ms/schema/1.0/share' => 'Announce',
+ 'http://activitystrea.ms/schema/1.0/share' => 'Announce',
'http://activitystrea.ms/schema/1.0/update' => 'Update',
'http://activitystrea.ms/schema/1.0/like' => 'Like',
'http://activitystrea.ms/schema/1.0/favorite' => 'Like',
@@ -1208,8 +1208,7 @@ class Activity {
'http://purl.org/zot/activity/attendmaybe' => 'TentativeAccept',
'Invite' => 'Invite',
'Delete' => 'Delete',
- 'Undo' => 'Undo',
- 'Announce' => 'Announce',
+ 'Undo' => 'Undo'
];
call_hooks('activity_mapper', $acts);
@@ -1243,7 +1242,7 @@ class Activity {
$acts = [
'http://activitystrea.ms/schema/1.0/post' => 'Create',
- // 'http://activitystrea.ms/schema/1.0/share' => 'Announce',
+ 'http://activitystrea.ms/schema/1.0/share' => 'Announce',
'http://activitystrea.ms/schema/1.0/update' => 'Update',
'http://activitystrea.ms/schema/1.0/like' => 'Like',
'http://activitystrea.ms/schema/1.0/favorite' => 'Like',
@@ -1257,8 +1256,7 @@ class Activity {
'http://purl.org/zot/activity/attendmaybe' => 'TentativeAccept',
'Invite' => 'Invite',
'Delete' => 'Delete',
- 'Undo' => 'Undo',
- 'Announce' => 'Announce'
+ 'Undo' => 'Undo'
];
call_hooks('activity_decode_mapper', $acts);
@@ -1286,11 +1284,11 @@ class Activity {
'http://activitystrea.ms/schema/1.0/profile-photo' => 'Icon',
'http://activitystrea.ms/schema/1.0/event' => 'Event',
'http://purl.org/zot/activity/location' => 'Place',
- // 'http://purl.org/zot/activity/chessgame' => 'Game',
- // 'http://purl.org/zot/activity/tagterm' => 'zot:Tag',
- // 'http://purl.org/zot/activity/thing' => 'Object',
- // 'http://purl.org/zot/activity/file' => 'zot:File',
- // 'http://purl.org/zot/activity/mood' => 'zot:Mood',
+ 'http://purl.org/zot/activity/chessgame' => 'Game',
+ 'http://purl.org/zot/activity/tagterm' => 'zot:Tag',
+ 'http://purl.org/zot/activity/thing' => 'Object',
+ 'http://purl.org/zot/activity/file' => 'zot:File',
+ 'http://purl.org/zot/activity/mood' => 'zot:Mood',
'Invite' => 'Invite',
'Question' => 'Question',
'Document' => 'Document',
@@ -1323,11 +1321,11 @@ class Activity {
'http://activitystrea.ms/schema/1.0/profile-photo' => 'Icon',
'http://activitystrea.ms/schema/1.0/event' => 'Event',
'http://purl.org/zot/activity/location' => 'Place',
- // 'http://purl.org/zot/activity/chessgame' => 'Game',
- // 'http://purl.org/zot/activity/tagterm' => 'zot:Tag',
- // 'http://purl.org/zot/activity/thing' => 'Object',
- // 'http://purl.org/zot/activity/file' => 'zot:File',
- // 'http://purl.org/zot/activity/mood' => 'zot:Mood',
+ 'http://purl.org/zot/activity/chessgame' => 'Game',
+ 'http://purl.org/zot/activity/tagterm' => 'zot:Tag',
+ 'http://purl.org/zot/activity/thing' => 'Object',
+ 'http://purl.org/zot/activity/file' => 'zot:File',
+ 'http://purl.org/zot/activity/mood' => 'zot:Mood',
'Invite' => 'Invite',
'Question' => 'Question',
'Audio' => 'Audio',