isamert / scli

a simple terminal user interface for signal messenger (using signal-cli)
GNU General Public License v3.0
439 stars 40 forks source link

Renamed contacts revert to names on master device after SYNC #119

Closed exquo closed 3 years ago

exquo commented 3 years ago

If scli was linked with the signal app on the phone, and some contacts were renamed in scli with :renameContact, then after signal-cli receives a CONTACTS_SYNC message from the servers, the contacts revert back to their names on the phone. This also affects contacts added with :addContact, who are removed after CONTACTS_SYNC.

This might not be preventable, see https://github.com/isamert/scli/issues/74#issuecomment-817361835. If that's the case, and we can not make the renamed contacts keep their new names, maybe we should not offer to :renameContact on linked signal-cli accounts. Alternatively, we could store the renames info in scli's own files.

exquo commented 3 years ago

Corresponding issue upstream: https://github.com/AsamK/signal-cli/issues/600

exquo commented 3 years ago

Starting with v0.8.2, signal-cli does not allow to modify contacts' information from non-master (i.e. linked) devices. We can follow signal-cli in not allowing to make these changes from scli.