Commit 04d4b62d authored by mmn's avatar mmn

Replies to repeats should go to the original

parent a490d634
......@@ -530,7 +530,13 @@ class Notice extends Managed_DataObject
$profile->nickname, $reply->id), 403);
$notice->reply_to = $reply->id;
// If it's a repeat, the reply_to should be to the original
if (!empty($reply->repeat_of)) {
$notice->reply_to = $reply->repeat_of;
} else {
$notice->reply_to = $reply->id;
// But the conversation ought to be the same :)
$notice->conversation = $reply->conversation;
// If the original is private to a group, and notice has
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment