X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fonepoll.php;h=9052937fdca03d05bd713107d70b9742edd35389;hb=15f43d8ca3be780e6ee7117696acaa7e198a096a;hp=15b8e7c2cc20c2679f04cfe2e1408585aed071a4;hpb=64946972b2004b0b8252da670d0e990143a40b77;p=friendica.git diff --git a/include/onepoll.php b/include/onepoll.php index 15b8e7c2cc..9052937fdc 100644 --- a/include/onepoll.php +++ b/include/onepoll.php @@ -58,7 +58,7 @@ function onepoll_run(&$argv, &$argc){ } // Test - $lockpath = get_config('system','lockpath'); + $lockpath = get_lockpath(); if ($lockpath != '') { $pidfile = new pidfile($lockpath, 'onepoll'.$contact_id); if($pidfile->is_already_running()) { @@ -330,6 +330,8 @@ function onepoll_run(&$argv, &$argc){ logger("Mail: Parsing mail ".$msg_uid, LOGGER_DATA); $datarray = array(); + $datarray['verb'] = ACTIVITY_POST; + $datarray['object-type'] = ACTIVITY_OBJ_NOTE; // $meta = email_msg_meta($mbox,$msg_uid); // $headers = email_msg_headers($mbox,$msg_uid);