fix deduplication of blob files

This commit is contained in:
Simon Laux
2020-06-12 19:52:57 +02:00
parent aa953687bf
commit 82253e1e30

View File

@@ -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(),