mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 01:46:34 +03:00
fix deduplication of blob files
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user