aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-16 22:26:52 -0700
committerfriendica <info@friendica.com>2014-09-16 22:26:52 -0700
commit0090cbf84b6679a72ac164dfb86a701ed0faa601 (patch)
tree8e8359a49a2d6c13b102bdfa45c8b860f462b61a
parent19e8d10b7a877618c9a2b97bf6be9fb2e80a4ea4 (diff)
downloadvolse-hubzilla-0090cbf84b6679a72ac164dfb86a701ed0faa601.tar.gz
volse-hubzilla-0090cbf84b6679a72ac164dfb86a701ed0faa601.tar.bz2
volse-hubzilla-0090cbf84b6679a72ac164dfb86a701ed0faa601.zip
that's why bb2diaspora_itemwallwall() wasn't doing its thang.
-rw-r--r--include/bb2diaspora.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index 846725639..e60f72add 100644
--- a/include/bb2diaspora.php
+++ b/include/bb2diaspora.php
@@ -269,12 +269,12 @@ function bb2diaspora_itemwallwall(&$item) {
logger('bb2diaspora_itemwallwall: author: ' . print_r($item['author'],true), LOGGER_DEBUG);
}
- if(($item['mid'] == $item['parent_mid']) && ($item['author_xchan'] != $item['owner_xchan']) && (is_array($item['author'])) && $item['author']['url'] && $item['author']['name'] && $item['author']['photo']['src']) {
+ if(($item['mid'] == $item['parent_mid']) && ($item['author_xchan'] != $item['owner_xchan']) && (is_array($item['author'])) && $item['author']['xchan_url'] && $item['author']['xchan_name'] && $item['author']['xchan_photo_m']) {
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"
- . '[img]' . $item['author']['photo']['src'] . '[/img]'
- . '[url=' . $item['author']['url'] . ']' . $item['author']['name'] . '[/url]' . "\n\n"
+ . '[img]' . $item['author']['xchan_photo_m'] . '[/img]'
+ . '[url=' . $item['author']['xchan_url'] . ']' . $item['author']['xchan_name'] . '[/url]' . "\n\n"
. $item['body'];
}
}