fetch conversation URI in processPost, not processShare

This commit is contained in:
Mikael Nordfeldth 2014-11-27 16:51:21 +01:00
parent 1b449ea705
commit 72d1c3c73e
1 changed files with 4 additions and 4 deletions

View File

@ -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) {