VCARD: if we loaded the vcard mime from the server don't load it again.
[citadel.git] / webcit / vcard_edit.c
index fee75f30f9502f9330e2db665e06bfb0d42824ae..1a9f11a67142c9feac94dd66df2d1c2a3330e31d 100644 (file)
@@ -137,7 +137,8 @@ wc_mime_attachment *load_vcard(message_summary *Msg)
        if (VCMime == NULL)
                return NULL;
 
-       MimeLoadData(VCMime);
+       if (VCMime->Data == NULL)
+               MimeLoadData(VCMime);
        return VCMime;
 }