From 59474673395242f472124968e962702fb6b5f023 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 1 Jul 2016 20:34:00 -0700 Subject: use small photo for Diaspora attribution correction; the medium looks awkward in the D* stream. --- Zotlabs/Module/Tagger.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Zotlabs/Module/Tagger.php') diff --git a/Zotlabs/Module/Tagger.php b/Zotlabs/Module/Tagger.php index 0a46cf56d..e1ed111a1 100644 --- a/Zotlabs/Module/Tagger.php +++ b/Zotlabs/Module/Tagger.php @@ -129,6 +129,15 @@ class Tagger extends \Zotlabs\Web\Controller { store_item_tag($item['uid'],$item['id'],TERM_OBJ_POST,TERM_COMMUNITYTAG,$term,$tagid); $ret = post_activity_item($arr); + + $r = $ret['item']; + if($r) { + build_sync_packet(local_channel(),[ + 'item' => [ + encode_item($,true) + ] + ]); + } if($ret['success']) \Zotlabs\Daemon\Master::Summon(array('Notifier','tag',$ret['activity']['id'])); -- cgit v1.2.3