nchat icon indicating copy to clipboard operation
nchat copied to clipboard

Messages sent while deauthenticated are not resynced

Open hseg opened this issue 1 year ago • 1 comments

Description:

Accidentally unlinked my nchat instance, so I relinked it using nchat --setup -d OLD_PROFILE_DIR. Unfortunately, it doesn't seem to have picked up the messages that were sent in the meantime, despite the whatsmeow logs showing sync attempts succeeding? Moreover, nchat didn't abort when it noticed it was deauthenticated, it just opened up and behaved as if the network was down (I only noticed the warning messages after I closed it). The lack of an option to force manual resync means my only solution was to nuke the old profile and restart.

How to reproduce it:

Unlink your nchat instance from whatsapp. Wait for a few more messages to arrive. Then nchat --setup, passing -d OLD_PROFILE_DIR if you were previously using it. The new messages don't show up.

Environment:

  • Version: 5.2.11.r6 (dbfcc3d)
  • OS / distro: Arch Linux (Linux 6.11.5-arch1-1)

hseg avatar Nov 06 '24 15:11 hseg

Thanks for reporting, I will look into this. There is not much "re-sync" functionality implemented at this point unfortunately. But a fresh setup should pick up at least messages from the past year..

d99kris avatar Dec 29 '24 10:12 d99kris