youtube redirect fixes

This commit is contained in:
Friendika 2011-08-30 23:09:39 -07:00
commit f0c3a75ff3
3 changed files with 5 additions and 5 deletions

View file

@ -353,7 +353,7 @@ function item_post(&$a) {
* and we are replying, and there isn't one already
*/
if(($parent_contact) && ($parent_contact['network'] === 'stat')
if(($parent_contact) && ($parent_contact['network'] === NETWORK_OSTATUS)
&& ($parent_contact['nick']) && (! in_array('@' . $parent_contact['nick'],$tags))) {
$body = '@' . $parent_contact['nick'] . ' ' . $body;
$tags[] = '@' . $parent_contact['nick'];