wip
This commit is contained in:
parent
58b69e7aa2
commit
9329cd3ab5
|
@ -275,7 +275,7 @@ private extension DatabaseMiddleware {
|
||||||
.tracking(
|
.tracking(
|
||||||
Message
|
Message
|
||||||
.filter(
|
.filter(
|
||||||
Column("to") == chat.account ||
|
(Column("to") == chat.account && Column("from") == chat.participant) ||
|
||||||
(Column("from") == chat.account && Column("to") == chat.participant)
|
(Column("from") == chat.account && Column("to") == chat.participant)
|
||||||
)
|
)
|
||||||
.order(Column("date").desc)
|
.order(Column("date").desc)
|
||||||
|
|
Loading…
Reference in a new issue