gurk-rs icon indicating copy to clipboard operation
gurk-rs copied to clipboard

[bug] random string for private chats

Open werdahias opened this issue 1 year ago • 2 comments

Running the latest git on Debian unstable I get the following random string for a private chat: image Group chats are labeled correctly though.

werdahias avatar Dec 09 '24 09:12 werdahias

@gferon you mentioned you might know why this happens?

boxdot avatar Dec 09 '24 10:12 boxdot

Name resolution has been broken for a while (at least since I've started using https://github.com/whisperfish/presage/commits/8b9af8ee4758c73550024bea8c715a893e9e4e47 to get the websocket fix). In particular some contacts end up with an empty name "" obtained via contact_by_id in presage-store-sled, I think.

In your case I suspect that all name methods return None, leaving you with the user's uuid instead of their name.

hrdl-github avatar Dec 10 '24 23:12 hrdl-github

I was able to reproduce this on 0.7.1, too, on a new Fedora device. After a bit, the names replaced the uuids.

foxyseta avatar Nov 08 '25 14:11 foxyseta

Unfortunately, I see this too.

boxdot avatar Nov 08 '25 17:11 boxdot