diff options
author | fiaxh <git@mx.ax.lt> | 2017-03-09 15:34:32 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-03-09 15:45:03 +0100 |
commit | 5fc0435cc1227bf445d06a3931343020faaecd10 (patch) | |
tree | 329041d3b2545fc445e9f175d3d5fff755fd110b /qlite/src | |
parent | b1e6e51c4f79f57f0a01b183ef185408fb22cc36 (diff) | |
download | dino-5fc0435cc1227bf445d06a3931343020faaecd10.tar.gz dino-5fc0435cc1227bf445d06a3931343020faaecd10.zip |
Save unsent messages (acc offline etc) and send later; don't send pgp messages if pgp error
Diffstat (limited to 'qlite/src')
-rw-r--r-- | qlite/src/update_builder.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qlite/src/update_builder.vala b/qlite/src/update_builder.vala index f6729772..5f721a32 100644 --- a/qlite/src/update_builder.vala +++ b/qlite/src/update_builder.vala @@ -123,6 +123,7 @@ public class UpdateBuilder : StatementBuilder { } public void perform() throws DatabaseError { + if (fields == null || fields.length == 0) return; if (prepare().step() != DONE) { throw new DatabaseError.EXEC_ERROR(@"SQLite error: $(db.errcode()) - $(db.errmsg())"); } |