simplex-chat icon indicating copy to clipboard operation
simplex-chat copied to clipboard

[Feature]: Export full chat history

Open Darin755 opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Platform

all

App version

No response

Feature

It would be nice to be able to export a full chat log for a contact or group for record keeping or evidence of abuse. This could be a simple button in settings somewhere to export it as text file. The format could look something like this

Alice: Hello Bob: hi Alice: etc

I'm not sure how images could be handled but you could have the export be saved as a zip archive with each image assigned a number.

This feature would be pretty useful for record keeping. I'm not sure how it would be handled with disappearing messages. I would hope that you could have some record but maybe I'm missing the point of disappearing messages.

Darin755 avatar Sep 18 '23 03:09 Darin755

This feature would be particularly useful, since there is not even a way to select and copy multiple messages as once. Currently, one would have to copy every single message one by one manually. A simple export with the username and a timestamp under each message, separated by a line jump would be sufficient for my use case. When it comes to pictures and disappearing messages, for simplicity the export could reference the file name and "N/A" respectively. Following this approach, this feature should be relatively simple to develop and it could always be improved in the future.

Format:

<type>
<value>
<username>
<timestamp>
\n

Example:

message
This is a message.
User123
2024-03-15T21:15:52Z

message
This is a response.
User345
2024-03-15T21:16:03Z

file
this_is_a_file.jpg
User123
2024-03-15T21:19:24Z

disappearing_message
N/A
User345
2024-03-15T21:20:16Z

nikoelgatito avatar Mar 16 '24 04:03 nikoelgatito