diff options
author | zottel <github@zottel.net> | 2012-03-29 10:23:45 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-03-29 10:23:45 +0200 |
commit | 953840cf822718cba66a0727b576c674c6e44875 (patch) | |
tree | a924cf0031d16f6f15b7d84d5f519ca4257042b4 /include/poller.php | |
parent | fb817a29a934a68f194a42c29d3ed11da2da558f (diff) | |
parent | 3ee529d095ac7e83ae1e71d86cbe6d443885d54e (diff) | |
download | volse-hubzilla-953840cf822718cba66a0727b576c674c6e44875.tar.gz volse-hubzilla-953840cf822718cba66a0727b576c674c6e44875.tar.bz2 volse-hubzilla-953840cf822718cba66a0727b576c674c6e44875.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/poller.php')
-rwxr-xr-x | include/poller.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/poller.php b/include/poller.php index 8262c1d60..90a97867c 100755 --- a/include/poller.php +++ b/include/poller.php @@ -504,7 +504,12 @@ function poller_run($argv, $argc){ //$datarray['title'] = notags(trim($meta->subject)); $datarray['created'] = datetime_convert('UTC','UTC',$meta->date); - $r = email_get_msg($mbox,$msg_uid); + // Is it reply? + $reply = ((substr(strtolower($datarray['title']), 0, 3) == "re:") or + (substr(strtolower($datarray['title']), 0, 3) == "re-") or + (raw_refs != "")); + + $r = email_get_msg($mbox,$msg_uid, $reply); if(! $r) { logger("Mail: can't fetch msg ".$msg_uid); continue; |