Fix reply flag does not get refreshed after mail reply action

This commit is contained in:
Hadi Nategh 2017-10-23 15:36:07 +02:00
parent b155c616b8
commit ed50b91ca4

View File

@ -545,7 +545,7 @@ class mail_compose
// we need a message only, when account ids (composeProfile vs. activeProfile) differ // we need a message only, when account ids (composeProfile vs. activeProfile) differ
$response->call('opener.egw_message',lang('Message send successfully.')); $response->call('opener.egw_message',lang('Message send successfully.'));
} }
elseif ($activeProfile == $composeProfile && ($workingFolder==$activeFolder && $mode != 'compose') || ($this->mail_bo->isSentFolder($workingFolder)||$this->mail_bo->isDraftFolder($workingFolder))) elseif ($activeProfile == $composeProfile && ($workingFolder==$activeFolder['mailbox'] && $mode != 'compose') || ($this->mail_bo->isSentFolder($workingFolder)||$this->mail_bo->isDraftFolder($workingFolder)))
{ {
if ($this->mail_bo->isSentFolder($workingFolder)||$this->mail_bo->isDraftFolder($workingFolder)) if ($this->mail_bo->isSentFolder($workingFolder)||$this->mail_bo->isDraftFolder($workingFolder))
{ {