aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-30 23:09:39 -0700
committerFriendika <info@friendika.com>2011-08-30 23:09:39 -0700
commitf0c3a75ff38dcd208710fa24596c34290faf110e (patch)
treedcfe58104b8ccbb0dd7c83ad8199388f99d2383a /mod
parentb11a0efff120508a2059afe372f50144dcc8b977 (diff)
downloadvolse-hubzilla-f0c3a75ff38dcd208710fa24596c34290faf110e.tar.gz
volse-hubzilla-f0c3a75ff38dcd208710fa24596c34290faf110e.tar.bz2
volse-hubzilla-f0c3a75ff38dcd208710fa24596c34290faf110e.zip
youtube redirect fixes
Diffstat (limited to 'mod')
-rw-r--r--mod/item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php
index dd42014eb..b6ea8ff08 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -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'];