mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 12:56:30 +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,
|
messages: message_json,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
blobs.sort();
|
||||||
blobs.dedup();
|
blobs.dedup();
|
||||||
ExportChatResult {
|
ExportChatResult {
|
||||||
chat_json: serde_json::to_string(&chat_json).unwrap(),
|
chat_json: serde_json::to_string(&chat_json).unwrap(),
|
||||||
|
|||||||
Reference in New Issue
Block a user