From 3899d70b3c3aa8af8aaec6184d50cfc6577801fc Mon Sep 17 00:00:00 2001 From: Hocuri Date: Wed, 10 Jun 2020 11:59:06 +0200 Subject: [PATCH] I hate SQL --- src/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/message.rs b/src/message.rs index 2c1a45747..83510a87d 100644 --- a/src/message.rs +++ b/src/message.rs @@ -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", ),