d99kris / nchat

Terminal-based Telegram / WhatsApp client for Linux and macOS
MIT License
652 stars 46 forks source link

[WhatsApp] Edited messages via app don't update in nchat #227

Closed fulalas closed 4 months ago

fulalas commented 4 months ago

If I edit a message on WhatsApp app on my phone and then open nchat, the version of the message that I see in nchat is the old/original one, not the edited one.

Version: 4.75

d99kris commented 4 months ago

Hi @fulalas - thanks for reporting a bug. I can see the issue here too. I will look into preparing a fix.

d99kris commented 4 months ago

WhatsApp handling for edited messages has been added now, let me know in case you still encounter any issues. Thanks!

fulalas commented 4 months ago

It's fixed, thanks!

I noticed something peculiar though. If I send a message via nchat and try to edit it using WhatsApp app, I can't. The edit option doesn't even show up. Can you replicate this?

d99kris commented 4 months ago

I can see that issue too. I'm not sure what the cause is. Possibly due to some WhatsApp protocol updates which the reverse-engineered library does not yet handle. I'm planning to soon (~few weeks) update to a newer version of the whatsapp library, will see if that resolves this issue.