From: Alan Knowles Date: Fri, 29 Jun 2018 07:41:39 +0000 (+0800) Subject: src/strip.vala X-Git-Url: http://git.roojs.org/?p=app.mailtrimmer;a=commitdiff_plain;h=a465fe32a01dab64111a1af91064759ea48e2eb3 src/strip.vala --- diff --git a/src/strip.vala b/src/strip.vala index 59a31d3..0c1fd0e 100644 --- a/src/strip.vala +++ b/src/strip.vala @@ -372,9 +372,11 @@ public class Strip : GLib.Object { // that should wipe out dupes. var matches = this.execute("SELECT count(id) as nid FROM Attachment WHERE id = %d".printf( int.parse(sid))); - GLib.error("Got Matches :%s", matches); + if (matches=="") { + // our old mailfort code deleted the crap out of old records... + // if this occurs we will need to create the record again.. GLib.error("Failed to find id :%s", sid); return; }