Fixed warnings

This commit is contained in:
M66B
2018-08-04 15:52:03 +00:00
parent b447b4ab8a
commit 11aaac4d4b
3 changed files with 3 additions and 3 deletions

View File

@@ -957,7 +957,7 @@ public class ServiceSynchronize extends LifecycleService {
for (EntityAttachment attachment : helper.getAttachments()) {
Log.i(Helper.TAG, "attachment name=" + attachment.name + " type=" + attachment.type);
attachment.message = message.id;
db.attachment().insertAttachment(attachment);
attachment.id = db.attachment().insertAttachment(attachment);
}
} else if (message.seen != seen) {