Diaspora: Add a mention when doing a thread reply
This commit is contained in:
parent
d671af2795
commit
8c579735f9
|
@ -568,8 +568,8 @@ function item_post(&$a) {
|
||||||
* add a statusnet style reply tag if the original post was from there
|
* add a statusnet style reply tag if the original post was from there
|
||||||
* and we are replying, and there isn't one already
|
* and we are replying, and there isn't one already
|
||||||
*/
|
*/
|
||||||
|
if ($parent AND (($parent_contact['network'] == NETWORK_OSTATUS) OR
|
||||||
if($parent AND ($parent_contact['network'] === NETWORK_OSTATUS)) {
|
(($parent_item['uri'] != $thr_parent) AND ($parent_contact['network'] == NETWORK_DIASPORA)))) {
|
||||||
if ($parent_contact['id'] != "")
|
if ($parent_contact['id'] != "")
|
||||||
$contact = '@'.$parent_contact['nick'].'+'.$parent_contact['id'];
|
$contact = '@'.$parent_contact['nick'].'+'.$parent_contact['id'];
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue