aboutsummaryrefslogtreecommitdiffstats
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:30:49 +0200
commit205bc968273530cbbe425d9f350ffb6eeb592f6d (patch)
treeb5afd54a1726bf9e3336b8afeea2cd36ef3e92b1
parent2bd61aed7ae11527c13f0e2589ed534155e67c71 (diff)
downloadvolse-hubzilla-205bc968273530cbbe425d9f350ffb6eeb592f6d.tar.gz
volse-hubzilla-205bc968273530cbbe425d9f350ffb6eeb592f6d.tar.bz2
volse-hubzilla-205bc968273530cbbe425d9f350ffb6eeb592f6d.zip
make diaspora w2w appear as a quote to make a little bit more clear what is happening
-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.