Prevent crash

pull/170/head
M66B 6 years ago
parent 79daaaace7
commit d26ba9dd92

@ -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();

Loading…
Cancel
Save