mu: don't verify signatures when it's not needed
We were verifying signatures when this was not needed; it seems that gpgme is a bit slow (?), and on some people's machine the extra verification made opening messages slow (with the non-gnus view esp.)
This commit is contained in:
@ -59,6 +59,10 @@ get_mime_object_at_index (MuMsg *msg, MuMsgOptions opts, unsigned index)
|
||||
ddata.mime_obj = NULL;
|
||||
ddata.index = index;
|
||||
|
||||
/* wipe out some irrelevant options */
|
||||
opts &= ~MU_MSG_OPTION_VERIFY;
|
||||
opts &= ~MU_MSG_OPTION_EXTRACT_IMAGES;
|
||||
|
||||
mu_msg_part_foreach (msg, opts,
|
||||
(MuMsgPartForeachFunc)do_it_with_index,
|
||||
&ddata);
|
||||
|
||||
Reference in New Issue
Block a user