From 96a4fc7ca27da2d1ad864bd05f7d2165a037677d Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 6 Feb 2019 19:26:28 -0800 Subject: more work on share/repeat --- Zotlabs/Module/Share.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Zotlabs/Module') diff --git a/Zotlabs/Module/Share.php b/Zotlabs/Module/Share.php index af339a09b..58b70318d 100644 --- a/Zotlabs/Module/Share.php +++ b/Zotlabs/Module/Share.php @@ -3,6 +3,7 @@ namespace Zotlabs\Module; use App; use Zotlabs\Daemon\Master; +use Zotlabs\Lib\Activity; require_once('include/security.php'); @@ -98,7 +99,7 @@ class Share extends \Zotlabs\Web\Controller { $arr['parent_mid'] = $item['mid']; $mention = '@[zrl=' . $item['author']['xchan_url'] . ']' . $item['author']['xchan_name'] . '[/zrl]'; - $arr['body'] = sprintf( t('🔁 Repeated %1$s\'s %2$s'), $mention, $item['obj_type']); + $arr['body'] = sprintf( t('🔁 Repeated %1$s\'s %2$s'), $mention, Activity::activity_obj_mapper($item['obj_type'])); $arr['author_xchan'] = $channel['channel_hash']; $arr['owner_xchan'] = $item['author_xchan']; -- cgit v1.2.3