fetch conversation URI in processPost, not processShare
This commit is contained in:
parent
1b449ea705
commit
72d1c3c73e
@ -684,10 +684,6 @@ class Ostatus_profile extends Managed_DataObject
|
|||||||
$options['reply_to'] = $orig->id;
|
$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;
|
$location = $activity->context->location;
|
||||||
if ($location) {
|
if ($location) {
|
||||||
@ -852,6 +848,10 @@ class Ostatus_profile extends Managed_DataObject
|
|||||||
$options['reply_to'] = $orig->id;
|
$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;
|
$location = $activity->context->location;
|
||||||
if ($location) {
|
if ($location) {
|
||||||
|
Loading…
Reference in New Issue
Block a user