Disable photo view for vcard
authorMatt <matt@uncensored.citadel.org>
Sun, 13 Jul 2008 01:21:58 +0000 (01:21 +0000)
committerMatt <matt@uncensored.citadel.org>
Sun, 13 Jul 2008 01:21:58 +0000 (01:21 +0000)
webcit/messages.c

index 288acba144d3db7db52401a38b2a8dc7bcdada9e..4d2724c119969a652d2428f12205de0576d25f70 100644 (file)
@@ -661,14 +661,14 @@ void display_parsed_vcard(struct vCard *v, int full, long msgnum) {
                                        wprintf("</TD></TR>\n");
                                }
                        }
-                       else if (!strcasecmp(firsttoken, "photo") && full && pass == 2) { 
+                       /* else if (!strcasecmp(firsttoken, "photo") && full && pass == 2) { 
                                // Only output on second pass
                                wprintf("<tr><td>");
                                wprintf(_("Photo:"));
                                wprintf("</td><td>");
                                wprintf("<img src=\"/vcardphoto/%ld/\" alt=\"Contact photo\"/>",msgnum);
                                wprintf("</td></tr>\n");
-                       }
+                       } */
                        else if (!strcasecmp(firsttoken, "version")) {
                                /* ignore */
                        }