From 6706bed676a9b6e8fa5d1d6e72644f37fb59c4d0 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 11 Oct 2016 10:17:38 +0200 Subject: make diaspora w2w appear as a quote to make a little bit more clear what is happening --- include/bb2diaspora.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index 52b944cc4..d3f88e17c 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -309,9 +309,12 @@ function bb2diaspora_itemwallwall(&$item,$uplink = false) { logger('bb2diaspora_itemwallwall: wall to wall post',LOGGER_DEBUG); // post will come across with the owner's identity. Throw a preamble onto the post to indicate the true author. $item['body'] = "\n\n" + . '[quote]' . '[img]' . $item['author']['xchan_photo_s'] . '[/img]' - . '[url=' . $item['author']['xchan_url'] . ']' . $item['author']['xchan_name'] . '[/url]' . "\n\n" - . $item['body']; + . ' ' + . '[url=' . $item['author']['xchan_url'] . '][b]' . $item['author']['xchan_name'] . '[/b][/url]' . "\n\n" + . $item['body'] + . '[/quote]'; } // $item['author'] might cause a surprise further down the line if it wasn't expected to be here. -- cgit v1.2.3