[Xfce4-commits] <postler:master> Enable Reply to All with multiple To addresses

Christian Dywan noreply at xfce.org
Sat Jan 22 06:48:04 CET 2011


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

commit dfc598d715050095b4f0f2356cf7b166c03ade31
Author: Christian Dywan <christian at twotoasts.de>
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;



More information about the Xfce4-commits mailing list