aboutsummaryrefslogtreecommitdiffstats
path: root/include/feedutils.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-27 19:57:03 -0700
committerzotlabs <mike@macgirvin.com>2017-06-27 19:57:03 -0700
commit2b2ea40bce41ad8d5688f42e71837a2caca8e9a8 (patch)
treeb0d78328530fd8dda8f490664446721c8926691f /include/feedutils.php
parent1273ac67f40c4c45807b178a9f679efc18bcc9c2 (diff)
downloadvolse-hubzilla-2b2ea40bce41ad8d5688f42e71837a2caca8e9a8.tar.gz
volse-hubzilla-2b2ea40bce41ad8d5688f42e71837a2caca8e9a8.tar.bz2
volse-hubzilla-2b2ea40bce41ad8d5688f42e71837a2caca8e9a8.zip
log conversation fetches (also a missed / char in the string replace)
Diffstat (limited to 'include/feedutils.php')
-rw-r--r--include/feedutils.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/feedutils.php b/include/feedutils.php
index 8bd4673f5..19b4e27ae 100644
--- a/include/feedutils.php
+++ b/include/feedutils.php
@@ -1216,11 +1216,13 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) {
function feed_conversation_fetch($importer,$contact,$parent_link) {
+ logger('parent_link: ' . $parent_link, LOGGER_DEBUG, LOG_INFO);
+
$link = '';
// GNU-Social flavoured feeds
if(strpos($parent_link,'/notice/')) {
- $link = str_replace('/notice/','/api/statuses/show',$link) . '.atom';
+ $link = str_replace('/notice/','/api/statuses/show/',$link) . '.atom';
}
// Mastodon flavoured feeds