src/strip.vala
authorAlan Knowles <alan@roojs.com>
Fri, 4 May 2018 05:24:21 +0000 (13:24 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 4 May 2018 05:24:21 +0000 (13:24 +0800)
src/strip.vala

index 2414bc8..d941b8a 100644 (file)
@@ -454,6 +454,17 @@ public class Strip : GLib.Object {
                
                        GLib.debug("fn = %s, m5=%s, id= %s", filename, mime_type, this.active_message_id);
                        this.query("""
+                       
+                       SELECT attachment_update(
+                               %d, -- in_id INT(11),
+                               '%s', -- in_mime_type varchar(255),
+                               %d, -- in_mime_size int(11),
+                               '%s', --in_created DATETIME,
+                               '%s', -- in_mailfort_sig varchar(64)
+                               
+                               ) as result
+                        
+                       
                        INSERT INTO
                                        Attachment 
                                (