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
|
|
@ -1,4 +1,5 @@
|
||||||
7.7.18
|
7.7.18
|
||||||
|
- fixed #10783: Inbox Copy Sender broken
|
||||||
- fixed #10782: Send Message friend_wholeName template var
|
- fixed #10782: Send Message friend_wholeName template var
|
||||||
- fixed #10778: Matrix navigation: list attributes
|
- fixed #10778: Matrix navigation: list attributes
|
||||||
- fixed #10776: i18n AuthLDAP::7 description
|
- fixed #10776: i18n AuthLDAP::7 description
|
||||||
|
|
|
||||||
|
|
@ -1334,9 +1334,9 @@ sub www_sendMessageSave {
|
||||||
|
|
||||||
foreach my $uid (@toUsers) {
|
foreach my $uid (@toUsers) {
|
||||||
$messageProperties->{userId} = $uid;
|
$messageProperties->{userId} = $uid;
|
||||||
$inbox->addMessage($messageProperties);
|
my $thisMessage = $inbox->addMessage($messageProperties);
|
||||||
if ($uid eq $session->user->userId) {
|
if ($uid eq $session->user->userId) {
|
||||||
$message->setRead;
|
$thisMessage->setRead;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue