From 82253e1e30e9d55e904c824098c80c2f95c82299 Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Fri, 12 Jun 2020 19:52:57 +0200 Subject: [PATCH] fix deduplication of blob files --- src/export_chat.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/export_chat.rs b/src/export_chat.rs index e367dee3e..55af968d7 100644 --- a/src/export_chat.rs +++ b/src/export_chat.rs @@ -245,6 +245,7 @@ pub async fn export_chat(context: &Context, chat_id: ChatId) -> ExportChatResult messages: message_json, }; + blobs.sort(); blobs.dedup(); ExportChatResult { chat_json: serde_json::to_string(&chat_json).unwrap(),