Skip to content

Commit aa47331

Browse files
committed
indentation
1 parent f1964c3 commit aa47331

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/chat.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3443,11 +3443,11 @@ pub async fn get_past_chat_contacts(context: &Context, chat_id: ChatId) -> Resul
34433443
.sql
34443444
.query_map(
34453445
"SELECT cc.contact_id
3446-
FROM chats_contacts cc
3447-
LEFT JOIN contacts c
3448-
ON c.id=cc.contact_id
3449-
WHERE cc.chat_id=? AND cc.add_timestamp < cc.remove_timestamp
3450-
ORDER BY c.id=1, c.last_seen DESC, c.id DESC;",
3446+
FROM chats_contacts cc
3447+
LEFT JOIN contacts c
3448+
ON c.id=cc.contact_id
3449+
WHERE cc.chat_id=? AND cc.add_timestamp < cc.remove_timestamp
3450+
ORDER BY c.id=1, c.last_seen DESC, c.id DESC",
34513451
(chat_id,),
34523452
|row| row.get::<_, ContactId>(0),
34533453
|ids| ids.collect::<Result<Vec<_>, _>>().map_err(Into::into),

0 commit comments

Comments
 (0)