Skip to content

Commit

Permalink
Don't include 'from' addresses in reply to all if reply-to header is …
Browse files Browse the repository at this point in the history
…present
  • Loading branch information
slusarz committed Jan 8, 2015
1 parent 2542e2d commit 189c58b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions imp/lib/Compose.php
Expand Up @@ -1927,6 +1927,8 @@ public function replyMessage($type, $contents, array $opts = array())
} elseif ($tmp = $h['from']) {
$addr['to']->add($tmp->getAddressList());
}
} elseif ($type === self::REPLY_ALL) {
$force = isset($h['reply-to']);
}

/* We might need $list_info in the reply_all section. */
Expand Down

0 comments on commit 189c58b

Please sign in to comment.