Skip to content

Some of the Archived chats opened via contact list not rendering messages #522

Description

@AshutoshGitMirror

Description:
In my earlier installs of nchat I was able to chat with archived chats, but since last few versions and reinstalls/resyncs later I am unable to do so. At first I thought archived chats were removed altogether but #335 confirmed that they're now accessible via alt+n instead of ctrl+n.
How to reproduce it:

  1. Install nchat
  2. Sync
  3. Unable to load messages of certain archived chat via alt+n
    Environment: dwm
  • Version: 5.15.26
  • OS / distro: arch linux

I am suspicious regarding my install at this point (I tried both building and chaotic-aur), also one thing to note here is that nchat creates distinct histories for numbers with and without country codes.

 [RatAnon@ArchLinuxbtw history]$ ls
Telegram_8851063660  Telegram_+918851063660  version  WhatsAppMd_8851063660  WhatsAppMd_+918851063660
[RatAnon@ArchLinuxbtw history]$ pwd
/home/RatAnon/.config/nchat/history

I checked up on the sqlite db, it seems to store all the archived contacts' received messages properly.

2026-05-05 19:12:59.262 | WARN | archive chat error 917977109422@s.whatsapp.net &fmt.wrapErrors{msg:"server returned error updating app state (regular_low): <error code="409" text="conflict"/> (also, applying patches in the response failed: failed to decode app state regular_low patches: failed to verify patch v30: mismatching LTHash)", errs:[]error{(*fmt.wrapError)(0x1597e81065e0), (*fmt.wrapError)(0x1597e8106640)}} (gowm.go:3359)

Is the log message, after selecting the said contact, I enabled extra verbose log but hard to tell if any of it would be useful.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions