projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
560a660
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 3 May 2018 09:33:12 +0000
(17:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 3 May 2018 09:33:12 +0000
(17:33 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
458d754
..
abbae8c
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-304,7
+304,7
@@
public class Strip : GLib.Object {
public void replace_attachment(GMime.Multipart parent, GMime.Part attachment)
{
var sid = attachment.get_header("X-strip-id");
- if (sid
!= null && sid.length
) {
+ if (sid
== null || sid.length < 1
) {
GLib.debug("Skip attachment replace - it's already been done");
return;
}