mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 13:08:42 +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) =>
|
..where((t) =>
|
||||||
t.openedAt.isNull() &
|
t.openedAt.isNull() &
|
||||||
t.contactId.equals(contactId) &
|
t.contactId.equals(contactId) &
|
||||||
|
t.messageOtherId.isNotNull() &
|
||||||
t.kind.equals(MessageKind.media.name))
|
t.kind.equals(MessageKind.media.name))
|
||||||
..orderBy([(t) => OrderingTerm.desc(t.sendAt)]))
|
..orderBy([(t) => OrderingTerm.desc(t.sendAt)]))
|
||||||
.watch();
|
.watch();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue