fetch conversation URI in processPost, not processShare
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user