mirror of
https://github.com/chatmail/core.git
synced 2026-04-22 16:06:30 +03:00
I hate SQL
This commit is contained in:
@@ -1408,7 +1408,7 @@ pub(crate) async fn ndn_from_ext(
|
||||
"SELECT",
|
||||
" m.id AS msg_id,",
|
||||
" c.id AS chat_id,",
|
||||
" c.type AS type,",
|
||||
" c.type AS type",
|
||||
" FROM msgs m LEFT JOIN chats c ON m.chat_id=c.id",
|
||||
" WHERE rfc724_mid=? AND from_id=1",
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user