aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-11 21:05:45 +0000
committerMario <mario@mariovavti.com>2021-02-11 21:05:45 +0000
commit0ffb09aa40d4bb2e05dd3b1ae306cb924f86ea12 (patch)
treee76060be81e4c1a51dfada2be069643c89832438
parent8054d7ad6662d3c39ad4b75aaed892960e40153f (diff)
downloadvolse-hubzilla-0ffb09aa40d4bb2e05dd3b1ae306cb924f86ea12.tar.gz
volse-hubzilla-0ffb09aa40d4bb2e05dd3b1ae306cb924f86ea12.tar.bz2
volse-hubzilla-0ffb09aa40d4bb2e05dd3b1ae306cb924f86ea12.zip
onepoll: add date_begin argument to poll url
-rw-r--r--Zotlabs/Daemon/Onepoll.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Daemon/Onepoll.php b/Zotlabs/Daemon/Onepoll.php
index 568745608..2200276e0 100644
--- a/Zotlabs/Daemon/Onepoll.php
+++ b/Zotlabs/Daemon/Onepoll.php
@@ -136,6 +136,7 @@ class Onepoll {
if ($url) {
logger('fetching outbox');
+ $url = $url . '?date_begin=' . urlencode($last_update);
$obj = new ASCollection($url, $importer, 0, $max);
$messages = $obj->get();
if ($messages) {