[Xfce4-commits] <postler:master> Recognize 'user-agent' as an alias for 'x-mailer'

Christian Dywan noreply at xfce.org
Mon May 31 20:24:01 CEST 2010


Updating branch refs/heads/master
         to 323c82a406ba1fa2e183d8797bd494b2dbab3976 (commit)
       from 1e8f8e88b6a57da4e89184573499382bb95f87a2 (commit)

commit 323c82a406ba1fa2e183d8797bd494b2dbab3976
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon May 31 20:05:30 2010 +0200

    Recognize 'user-agent' as an alias for 'x-mailer'

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

diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index 806491d..3e45d03 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -229,7 +229,7 @@ public class Postler.Content : WebKit.WebView {
                 }
                 else if (field == "organization")
                     organization = parts[1];
-                else if (field == "x-mailer")
+                else if (field == "x-mailer" || field == "user-agent")
                     x_mailer = format_x_mailer (parts[1]);
             }
 



More information about the Xfce4-commits mailing list