-
-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
user contact customizations (e.g. nickGivenName) on Android are discarded after linked signal-cli receive is run #1678
Comments
Note: I'm hypothesizing that the combination of a profile.lastUpdateTimestamp change plus the "signal-cli receive" run is the cause of undoing the user change to the contact on the Android master, but I could be getting the cause wrong. This is proving hard to reproduce. I'm also noticing that other stored contact parameters (e.g. contact.blocked, perhaps) are reverting on Android (I set them, and a little while later my change is mysteriously undone) on , and I'm wondering if my periodically running "signal-cli receive" on the linked device might be involved in causing it. |
Might be related to #1549 |
Version: signal-cli 0.13.12-SNAPSHOT I ran the experiment in the transcript below Using the latest development build you mention,
(I will note that, while the experiment is in progress, the Android is also linked to a receive-only signal-cli 0.13.11 device and a quiescent signal-desktop 7.38.0 device, though neither had any obvious outbound activity that I know of. If we want to test without the 0.13.11 device on the line, which I'm happy to do, it will need to wait until 0.13.12 is released.) I hope this is helpful. Transcript (edited/redacted):
|
I think it's the other signal-cli instance, that's modifying the storage in between. Let's retest after the next release. |
I have upgraded signal-cli to 0.3.12. This appears to be fixed. nickGivenName and nickFamilyName are now set correctly on signal-cli storage, and Android do not appear to revert after a message is sent. Closing. |
Note: fixed in c25468a |
Reopening [edit: various typos fixed] Ugh. Unfortunately this is still happening on 0.3.12. Signal contacts with no phone number are having their nickGivenName and nickFamilyName reverting to null, and that is then deleting the nickname set on the Android. Here's what I'm seeing:
Nothing about those contacts has changed in any of my devices, and no messages referencing their contact uuids have been recorded by "signal-cli receive" during the interval between the setting of the nickname on Android and the reversion.
The previous syncMessage with type CONTACTS_SYNC was 4 days earlier, and the contact nicknames were stable and correct that entire time.
|
Thanks for the detailed report. Will investigate, why the contact sync message handling doesn't work correctly for users without a number. |
Cool. So the fact (confirmed) that any linked device can edit a note but not delete a note is a signal-android bug - I'll file that one there. |
You rock! Thank you. |
This is related to (and may be a duplicate of) #1664, but I think there's something else going on.
After modifying nickGivenName and note for a contact on Android, some set of circumstances (perhaps the combination of signal-cli receive and a change in contact's profile.lastUpdateTimestamp) is causing the Android's nickGivenName (not just the signal-cli local store for the contact) to revert to null.
Separately, the local store for the "note" is set to null (but, oddly, this does not propagate to the Android). This may be a separate bug.
Signal-cli Version: 0.13.11, running against a linked "device" associated with an Signal master device on Android.
Actual behavior:
Expected behavior:
To reproduce:
After the second receive the local contact store for signal-cli is changed thus:
The text was updated successfully, but these errors were encountered: