AsamK / signal-cli

signal-cli provides an unofficial commandline, JSON-RPC and dbus interface for the Signal messenger.
GNU General Public License v3.0
3.22k stars 306 forks source link

Changing username with updateAccount doesn't update usernameLinkEntropy/usernameLinkServerId #1515

Closed i-infra closed 6 months ago

i-infra commented 6 months ago

When I change or delete usernames with the updateAccount command, I expect the values in (storage...) - to be updated and persisted to disk, so that I can reconstitute a functional encrypted-username link after setting it.

Right now this data on disk seems to be written out only once and not updated.

AsamK commented 6 months ago

Thanks for the report, the call to actually saving the file after updating the usernameLink was missing.