Deactivated the auto mention - we should do it differently.
This commit is contained in:
parent
8aaf09f9ee
commit
212f78386d
1 changed files with 2 additions and 8 deletions
10
mod/item.php
10
mod/item.php
|
@ -560,14 +560,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 ($thr_parent_item['network'] == NETWORK_DIASPORA)))) {
|
$contact = '@[url='.$parent_contact['url'].']'.$parent_contact['nick'].'[/url]';
|
||||||
|
|
||||||
if ($thr_parent_item['network'] != NETWORK_DIASPORA) {
|
|
||||||
$contact = '@[url='.$parent_contact['url'].']'.$parent_contact['nick'].'[/url]';
|
|
||||||
} else {
|
|
||||||
$contact = '@[url='.$parent_contact['url'].']'.$parent_contact['name'].'[/url]';
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!in_array($contact,$tags)) {
|
if (!in_array($contact,$tags)) {
|
||||||
$body = $contact.' '.$body;
|
$body = $contact.' '.$body;
|
||||||
|
|
Loading…
Reference in a new issue