From a465fe32a01dab64111a1af91064759ea48e2eb3 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 29 Jun 2018 15:41:39 +0800 Subject: [PATCH] src/strip.vala --- src/strip.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.39.2