[PATCH] Fix vcard handling

Carsten Burghardt <[email protected]> Mon, 12 Nov 2007 17:28:27 +0100
Newsgroups gmane.comp.kde.devel.kmail
Message-ID <[email protected]>
Hi,

I've noticed that vcard handling in the enterprise branch is broken with imap 
and lod. It's simply because the vcard viewer is opened before the attachment 
is loaded.
I propose the attached simple patch to always load text/x-card. That way the 
behaviour is identical to local folders. OK?


Regards

Carsten

_______________________________________________
KMail developers mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kmail-devel
bodyvisitor.cpp.diff (text/x-diff, 403 B)
Index: bodyvisitor.cpp
===================================================================
--- bodyvisitor.cpp	(Revision 735771)
+++ bodyvisitor.cpp	(Arbeitskopie)
@@ -46,6 +46,7 @@
     // groupware
     mBasicList += "APPLICATION/MS-TNEF";
     mBasicList += "TEXT/CALENDAR";
+    mBasicList += "TEXT/X-VCARD";
   }
 
   //-----------------------------------------------------------------------------