From 72d1c3c73e47bb72e9e69e125ddd222abbee3296 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 27 Nov 2014 16:51:21 +0100 Subject: [PATCH] fetch conversation URI in processPost, not processShare --- plugins/OStatus/classes/Ostatus_profile.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) {