diff options
-rw-r--r-- | include/poller.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/poller.php b/include/poller.php index cb2461584..b878ef295 100644 --- a/include/poller.php +++ b/include/poller.php @@ -269,6 +269,11 @@ function poller_run($argv, $argc){ // $contact['network'] !== 'dfrn' + if(($contact['notify']) && (! $contact['writable'])) { + q("UPDATE `contact` SET `writable` = 1 WHERE `id` = %d LIMIT 1", + intval($contact['id']) + ); + } $xml = fetch_url($contact['poll']); } |