mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 09:28:41 +00:00
fix #71
This commit is contained in:
parent
59acfe6ed3
commit
6fcd2827a1
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ class MessagesDao extends DatabaseAccessor<TwonlyDatabase>
|
|||
..where((t) =>
|
||||
t.openedAt.isNull() &
|
||||
t.contactId.equals(contactId) &
|
||||
t.messageOtherId.isNotNull() &
|
||||
t.kind.equals(MessageKind.media.name))
|
||||
..orderBy([(t) => OrderingTerm.desc(t.sendAt)]))
|
||||
.watch();
|
||||
|
|
|
|||
Loading…
Reference in a new issue