Some precaution to avoid overwriting of existing data with blanks
This commit is contained in:
parent
fe137a92ef
commit
0ac75deee1
3 changed files with 15 additions and 2 deletions
|
|
@ -308,6 +308,9 @@ class Item extends BaseObject {
|
|||
if (($item["item_network"] == NETWORK_FACEBOOK) AND ($indent == 'comment') AND isset($buttons["like"]))
|
||||
unset($buttons["like"]);
|
||||
|
||||
// Likes don't federate at OStatus
|
||||
if (($item["item_network"] == NETWORK_OSTATUS) AND isset($buttons["like"]))
|
||||
unset($buttons["like"]);
|
||||
|
||||
$tmp_item = array(
|
||||
'template' => $this->get_template(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue