forked from GNUsocial/gnu-social
don't overwrite replies in notices
darcs-hash:20081020170828-5ed1f-9172e6ee88e1e70bfbd6695b44bfb82eef690c4b.gz
This commit is contained in:
parent
f2e3021b59
commit
cebcec1950
@ -1089,7 +1089,7 @@ function common_save_replies($notice) {
|
|||||||
if (!$recipient) {
|
if (!$recipient) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if ($i == 0 && ($recipient->id != $sender->id)) { # Don't save reply to self
|
if ($i == 0 && ($recipient->id != $sender->id) && !$notice->reply_to) { # Don't save reply to self
|
||||||
$reply_for = $recipient;
|
$reply_for = $recipient;
|
||||||
$recipient_notice = $reply_for->getCurrentNotice();
|
$recipient_notice = $reply_for->getCurrentNotice();
|
||||||
if ($recipient_notice) {
|
if ($recipient_notice) {
|
||||||
|
Loading…
Reference in New Issue
Block a user