projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Properly detect invalid windows folder names. Thx to djcb for the great catch
[modest]
/
src
/
modest-search.c
diff --git
a/src/modest-search.c
b/src/modest-search.c
index
af5a8af
..
6146a8b
100644
(file)
--- a/
src/modest-search.c
+++ b/
src/modest-search.c
@@
-346,7
+346,7
@@
search_mime_part_and_child_parts (TnyMimePart *part, ModestSearch *search)
gboolean found = FALSE;
/* Do not search into attachments */
- if (modest_tny_mime_part_is_attachment_for_modest (part))
+ if (modest_tny_mime_part_is_attachment_for_modest (part) && !TNY_IS_MSG (part))
return FALSE;
#ifdef MODEST_HAVE_OGS