Use remote conversation URI info to stitch convos together

If we know the URI sent from the remote party, and we don't know the
notice it is replying to, we might still be able to put it in the same
conversation thread!
This commit is contained in:
Mikael Nordfeldth
2014-11-27 14:06:10 +01:00
parent 343291262e
commit bdb4a41696
2 changed files with 18 additions and 2 deletions

View File

@@ -684,6 +684,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) {