tbvdm / sigtop

Export messages from Signal Desktop
Other
240 stars 8 forks source link

Feature: Include contact names in JSON message export #50

Open ayancey opened 1 month ago

ayancey commented 1 month ago

When you run sigtop export-messages, it returns the sender's display name if the format is text or text-short. Because json output returns directly from the database, there's no display name included.

An option like json-names might be nice which joins sourceServiceId from messages table to serviceId in the conversations table.

Thanks!

tbvdm commented 3 weeks ago

Good point. Another possibility is to export the json column from the conversations table into a separate conversations.json file. Would that work for you?

ayancey commented 3 weeks ago

Good point. Another possibility is to export the json column from the conversations table into a separate conversations.json file. Would that work for you?

That's a good idea. I'll take a whack at a PR, but I know next to nothing about Go. 😅