diff options
author | zotlabs <mike@macgirvin.com> | 2019-02-06 19:26:28 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-02-06 19:26:28 -0800 |
commit | 96a4fc7ca27da2d1ad864bd05f7d2165a037677d (patch) | |
tree | 24fdfb7dcb0e5c439099dcf7a040b71432cd2859 /Zotlabs/Module/Share.php | |
parent | 29c1797493f44d2677cab9b35ce6d879f020a15e (diff) | |
download | volse-hubzilla-96a4fc7ca27da2d1ad864bd05f7d2165a037677d.tar.gz volse-hubzilla-96a4fc7ca27da2d1ad864bd05f7d2165a037677d.tar.bz2 volse-hubzilla-96a4fc7ca27da2d1ad864bd05f7d2165a037677d.zip |
more work on share/repeat
Diffstat (limited to 'Zotlabs/Module/Share.php')
-rw-r--r-- | Zotlabs/Module/Share.php | 3 |
1 files changed, 2 insertions, 1 deletions
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']; |