Updating branch refs/heads/master
         to dfc598d715050095b4f0f2356cf7b166c03ade31 (commit)
       from 55cec9d4f1dc62803ac106fcaa200d938467d217 (commit)

commit dfc598d715050095b4f0f2356cf7b166c03ade31
Author: Christian Dywan <[email protected]>
Date:   Sat Jan 22 03:34:17 2011 +0100

    Enable Reply to All with multiple To addresses
    
    Fixes: https://bugs.launchpad.net/postler/+bug/690749

 postler/postler-content.vala |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index 46a93b1..9112909 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -696,7 +696,11 @@ public class Postler.Content : WebKit.WebView {
             }
 
             reply_to = reply != "" ? reply : from;
-            if (carbon_copy != "")
+            if ("," in recipient && carbon_copy != "")
+                reply_to_all = reply_to + "," + recipient + "," + carbon_copy;
+            else if ("," in recipient)
+                reply_to_all = reply_to + "," + recipient;
+            else if (carbon_copy != "")
                 reply_to_all = reply_to + "," + carbon_copy;
             else
                 reply_to_all = null;
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to