aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2011-01-23 21:33:08 +0100
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2011-01-23 21:33:08 +0100
commit2319bc43bf3f837c22daa5067dcf538e8b5a792d (patch)
tree55b73fec029fa77d407751643e5d81c8329e4303
parent43dc0b4280b00cb66a1ca97341dfe7e795f5988c (diff)
parentab62b8f712382f72a0ec2e51812bc8ced299c154 (diff)
downloadvolse-hubzilla-2319bc43bf3f837c22daa5067dcf538e8b5a792d.tar.gz
volse-hubzilla-2319bc43bf3f837c22daa5067dcf538e8b5a792d.tar.bz2
volse-hubzilla-2319bc43bf3f837c22daa5067dcf538e8b5a792d.zip
Merge branch 'master' of git://github.com/friendika/friendika
-rw-r--r--include/items.php2
-rw-r--r--include/notifier.php7
-rw-r--r--include/poller.php2
3 files changed, 8 insertions, 3 deletions
diff --git a/include/items.php b/include/items.php
index f1169aeb4..5f8264beb 100644
--- a/include/items.php
+++ b/include/items.php
@@ -637,7 +637,7 @@ function item_store($arr) {
$arr['body'] = str_replace(
array('&amp;amp;', '&amp;gt;', '&amp;lt;', '&amp;quot;'),
- array('&amp;' , '&gt;' , '&lt;', '&quot'),
+ array('&amp;' , '&gt;' , '&lt;', '&quot;'),
$arr['body']
);
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))