mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 01:36:55 +00:00
Fixed warnings
This commit is contained in:
parent
b447b4ab8a
commit
11aaac4d4b
3 changed files with 3 additions and 3 deletions
|
@ -86,5 +86,5 @@ public interface DaoFolder {
|
|||
void updateFolder(EntityFolder folder);
|
||||
|
||||
@Query("DELETE FROM folder WHERE account= :account AND name = :name")
|
||||
int deleteFolder(Long account, String name);
|
||||
void deleteFolder(Long account, String name);
|
||||
}
|
||||
|
|
|
@ -96,7 +96,7 @@ public interface DaoMessage {
|
|||
void deleteMessage(long folder, long uid);
|
||||
|
||||
@Query("DELETE FROM message WHERE folder = :folder")
|
||||
int deleteMessages(long folder);
|
||||
void deleteMessages(long folder);
|
||||
|
||||
@Query("DELETE FROM message WHERE folder = :folder AND received < :received AND NOT uid IS NULL")
|
||||
int deleteMessagesBefore(long folder, long received);
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue