Closed adam-sroka closed 2 years ago
Thanks this looks good. Happy to incorporate the emoji library I think, look lightweight and I've been wanting to add the message 'reactions' to the export somehow.
Will give this a proper look in the next day or two but should be fine.
Only note, please black
format the code (spotted some single quotes).
Great, formatting done, let me know if the logic (or anything else!) needs changes.
Thanks @adam-sroka!
This PR attempts to fix Issue #29.
I have modified the
fix_names
function to convert emojis into text before stripping all alphanumberic characters. This is done via an external dependency, the emoji library. Let me know if you prefer some other approach, perhaps it is just me who has lots of emojis in chat names 🤷♂️.The other changes are changing empty string names to
unnamed
and appending a number to a chat if another chat with the same name already exists.Thank you 😊!