Prevent crash

This commit is contained in:
M66B
2019-12-24 09:27:03 +01:00
parent 79daaaace7
commit d26ba9dd92

View File

@@ -42,7 +42,7 @@ public interface DaoOperation {
" FROM operation" + " FROM operation" +
" JOIN folder ON folder.id = operation.folder" + " JOIN folder ON folder.id = operation.folder" +
" LEFT JOIN message ON message.id = operation.message" + " LEFT JOIN message ON message.id = operation.message" +
" LEFT JOIN account ON account.id = operation.account OR account.id = folder.account" + " LEFT JOIN account ON account.id = operation.account" +
" LEFT JOIN identity ON identity.id = message.identity" + " LEFT JOIN identity ON identity.id = message.identity" +
" ORDER BY " + priority + ", id") " ORDER BY " + priority + ", id")
LiveData<List<TupleOperationEx>> liveOperations(); LiveData<List<TupleOperationEx>> liveOperations();