forked from GNUsocial/gnu-social
Replies to repeats should go to the original
This commit is contained in:
parent
a490d634db
commit
04d4b62dff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user