aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-23 02:45:37 -0800
committerFriendika <info@friendika.com>2011-01-23 02:45:37 -0800
commit461625e378e8ccf6b66da64c00437da7f65e6dd6 (patch)
treeb6d0443d4bedf0d20885f9f9ae2a35322b6257e6 /include
parent6c0218563f9d1b88a2adbaaa875558d4c3abea0b (diff)
downloadvolse-hubzilla-461625e378e8ccf6b66da64c00437da7f65e6dd6.tar.gz
volse-hubzilla-461625e378e8ccf6b66da64c00437da7f65e6dd6.tar.bz2
volse-hubzilla-461625e378e8ccf6b66da64c00437da7f65e6dd6.zip
new network types
Diffstat (limited to 'include')
-rw-r--r--include/notifier.php7
-rw-r--r--include/poller.php2
2 files changed, 7 insertions, 2 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 39640e51a..4efdad4ce 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -280,7 +280,7 @@
);
}
break;
- default:
+ case 'stat':
if($followup && $contact['notify']) {
logger('notifier: slapdelivery: ' . $contact['name']);
$deliver_status = slapper($owner,$contact['notify'],$slap);
@@ -324,6 +324,11 @@
}
}
break;
+ case 'mail':
+ case 'dspr':
+ case 'feed':
+ default:
+ break;
}
}
diff --git a/include/poller.php b/include/poller.php
index fc45ff9c3..8234becbb 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -35,7 +35,7 @@
// 'stat' clause is a temporary measure until we have federation subscriptions working both directions
$contacts = q("SELECT * FROM `contact`
WHERE ( ( `network` = 'dfrn' AND ( `dfrn-id` != '' OR (`issued-id` != '' AND `duplex` = 1)))
- OR ( `network` = 'stat' AND `poll` != '' ) )
+ OR ( `network` IN ( 'stat', 'feed' ) AND `poll` != '' ))
AND `self` = 0 AND `blocked` = 0 AND `readonly` = 0 ORDER BY RAND()");
if(! count($contacts))