Support for threaded comments
This commit is contained in:
parent
ca734f168c
commit
ce4c542e37
2 changed files with 40 additions and 13 deletions
|
@ -347,16 +347,18 @@ class Item extends BaseObject {
|
|||
unset($buttons["like"]);
|
||||
}
|
||||
|
||||
// Disabled for testing purposes
|
||||
|
||||
// Diaspora isn't able to do likes on comments - but red does
|
||||
if (($item["item_network"] == NETWORK_DIASPORA) AND ($indent == 'comment') AND
|
||||
!Diaspora::is_redmatrix($item["owner-link"]) AND isset($buttons["like"])) {
|
||||
unset($buttons["like"]);
|
||||
}
|
||||
//if (($item["item_network"] == NETWORK_DIASPORA) AND ($indent == 'comment') AND
|
||||
// !Diaspora::is_redmatrix($item["owner-link"]) AND isset($buttons["like"])) {
|
||||
// unset($buttons["like"]);
|
||||
//}
|
||||
|
||||
// Diaspora doesn't has multithreaded comments
|
||||
if (($item["item_network"] == NETWORK_DIASPORA) AND ($indent == 'comment')) {
|
||||
unset($comment);
|
||||
}
|
||||
//if (($item["item_network"] == NETWORK_DIASPORA) AND ($indent == 'comment')) {
|
||||
// unset($comment);
|
||||
//}
|
||||
|
||||
// Facebook can like comments - but it isn't programmed in the connector yet.
|
||||
if (($item["item_network"] == NETWORK_FACEBOOK) AND ($indent == 'comment') AND isset($buttons["like"])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue