From 8c579735f9fedf85c2bdb99a738aca55cf114d00 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 1 Jan 2017 21:21:16 +0000 Subject: [PATCH] Diaspora: Add a mention when doing a thread reply --- mod/item.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/item.php b/mod/item.php index b902f1e354..0a53c4266e 100644 --- a/mod/item.php +++ b/mod/item.php @@ -568,8 +568,8 @@ function item_post(&$a) { * add a statusnet style reply tag if the original post was from there * and we are replying, and there isn't one already */ - - if($parent AND ($parent_contact['network'] === NETWORK_OSTATUS)) { + if ($parent AND (($parent_contact['network'] == NETWORK_OSTATUS) OR + (($parent_item['uri'] != $thr_parent) AND ($parent_contact['network'] == NETWORK_DIASPORA)))) { if ($parent_contact['id'] != "") $contact = '@'.$parent_contact['nick'].'+'.$parent_contact['id']; else