bb2d updates from testing signature changes
This commit is contained in:
parent
21b0128e9e
commit
2641980ac2
@ -268,7 +268,7 @@ function bb2dmention_callback($match) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function bb2diaspora_itemwallwall(&$item, $newpost = false) {
|
function bb2diaspora_itemwallwall(&$item) {
|
||||||
|
|
||||||
// We will provide wallwall (embedded author on the Diaspora side) if
|
// We will provide wallwall (embedded author on the Diaspora side) if
|
||||||
// 1. It is a wall-to-wall post
|
// 1. It is a wall-to-wall post
|
||||||
@ -289,7 +289,7 @@ function bb2diaspora_itemwallwall(&$item, $newpost = false) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$has_meta = false;
|
$has_meta = false;
|
||||||
if((! $newpost) && ($item['diaspora_meta'] || get_iconfig($item,'diaspora','fields')))
|
if($item['diaspora_meta'] || get_iconfig($item,'diaspora','fields'))
|
||||||
$has_meta = true;
|
$has_meta = true;
|
||||||
|
|
||||||
if($item['author_xchan'] != $item['owner_xchan']) {
|
if($item['author_xchan'] != $item['owner_xchan']) {
|
||||||
@ -318,7 +318,7 @@ function bb2diaspora_itemwallwall(&$item, $newpost = false) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function bb2diaspora_itembody($item, $force_update = false, $newpost = false) {
|
function bb2diaspora_itembody($item, $force_update = false, $have_channel = false) {
|
||||||
|
|
||||||
|
|
||||||
if(! get_iconfig($item,'diaspora','fields')) {
|
if(! get_iconfig($item,'diaspora','fields')) {
|
||||||
@ -361,8 +361,8 @@ function bb2diaspora_itembody($item, $force_update = false, $newpost = false) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(! $have_channel)
|
||||||
bb2diaspora_itemwallwall($newitem, $newpost);
|
bb2diaspora_itemwallwall($newitem, $newpost);
|
||||||
|
|
||||||
$title = $newitem['title'];
|
$title = $newitem['title'];
|
||||||
$body = preg_replace('/\#\^http/i', 'http', $newitem['body']);
|
$body = preg_replace('/\#\^http/i', 'http', $newitem['body']);
|
||||||
|
Reference in New Issue
Block a user