diff options
author | zotlabs <mike@macgirvin.com> | 2017-07-09 17:08:25 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-07-09 17:08:25 -0700 |
commit | e3734328eb7393bbdb76ce195d735ab48aa87324 (patch) | |
tree | df64ee6bd32deea0a1c0454bf68b9832d3d60c56 /include/feedutils.php | |
parent | ddc454bd8260f39831f0d9cb86f797798ef73322 (diff) | |
download | volse-hubzilla-e3734328eb7393bbdb76ce195d735ab48aa87324.tar.gz volse-hubzilla-e3734328eb7393bbdb76ce195d735ab48aa87324.tar.bz2 volse-hubzilla-e3734328eb7393bbdb76ce195d735ab48aa87324.zip |
find_parent for feeds needs more debug logging. Something is still falling through the cracks and it isn't obvious why
Diffstat (limited to 'include/feedutils.php')
-rw-r--r-- | include/feedutils.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/feedutils.php b/include/feedutils.php index d96735c3a..8696cc867 100644 --- a/include/feedutils.php +++ b/include/feedutils.php @@ -1009,6 +1009,8 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) { $parent_link = $rawthread[0]['attribs']['']['href']; } + logger('in-reply-to: ' . $parent_mid, LOGGER_DEBUG); + if($is_reply) { if($pass == 1) @@ -1088,6 +1090,7 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) { intval($importer['channel_id']) ); if($c) { + logger('find_parent: matched conversation: ' . $conv_id, LOGGER_DEBUG); $pmid = $c[0]['parent_mid']; $datarray['parent_mid'] = $pmid; } @@ -1099,6 +1102,7 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) { ); if($x) { + logger('find_parent: matched in-reply-to: ' . $parent_mid, LOGGER_DEBUG); $pmid = $x[0]['parent_mid']; $datarray['parent_mid'] = $pmid; } |