From: Mikael Nordfeldth Date: Thu, 27 Nov 2014 15:51:21 +0000 (+0100) Subject: fetch conversation URI in processPost, not processShare X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=72d1c3c73e47bb72e9e69e125ddd222abbee3296;p=quix0rs-gnu-social.git fetch conversation URI in processPost, not processShare --- diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php index f7d4513a87..96ab7f6be7 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -684,10 +684,6 @@ class Ostatus_profile extends Managed_DataObject $options['reply_to'] = $orig->id; } } - if (!empty($activity->context->conversation)) { - // we store the URI here, Notice class can look it up later - $options['conversation'] = $activity->context->conversation; - } $location = $activity->context->location; if ($location) { @@ -852,6 +848,10 @@ class Ostatus_profile extends Managed_DataObject $options['reply_to'] = $orig->id; } } + if (!empty($activity->context->conversation)) { + // we store the URI here, Notice class can look it up later + $options['conversation'] = $activity->context->conversation; + } $location = $activity->context->location; if ($location) {