fix bug #10783 copy sender in the Inbox.
This commit is contained in:
parent
b28a14b7fd
commit
3cc02af6bb
2 changed files with 3 additions and 2 deletions
|
|
@ -1334,9 +1334,9 @@ sub www_sendMessageSave {
|
|||
|
||||
foreach my $uid (@toUsers) {
|
||||
$messageProperties->{userId} = $uid;
|
||||
$inbox->addMessage($messageProperties);
|
||||
my $thisMessage = $inbox->addMessage($messageProperties);
|
||||
if ($uid eq $session->user->userId) {
|
||||
$message->setRead;
|
||||
$thisMessage->setRead;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue