aboutsummaryrefslogtreecommitdiffstats
path: root/include/bb2diaspora.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-10-11 10:17:38 +0200
committerMario Vavti <mario@mariovavti.com>2016-10-11 10:17:38 +0200
commit6706bed676a9b6e8fa5d1d6e72644f37fb59c4d0 (patch)
treefd4b06d0e8aab8d1c3dd3f83b135bb08dba8f7e8 /include/bb2diaspora.php
parentc4debca11d5aa3df11f4f4d84b272db412dac9ec (diff)
downloadvolse-hubzilla-6706bed676a9b6e8fa5d1d6e72644f37fb59c4d0.tar.gz
volse-hubzilla-6706bed676a9b6e8fa5d1d6e72644f37fb59c4d0.tar.bz2
volse-hubzilla-6706bed676a9b6e8fa5d1d6e72644f37fb59c4d0.zip
make diaspora w2w appear as a quote to make a little bit more clear what is happening
Diffstat (limited to 'include/bb2diaspora.php')
-rw-r--r--include/bb2diaspora.php7
1 files 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.