mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
find_parent for feeds needs more debug logging. Something is still falling through the cracks and it isn't obvious why
This commit is contained in:
parent
ddc454bd82
commit
e3734328eb
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue