Skip to content
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

[Syncing] Blocked contact #11523

Closed
igor-sirotin opened this issue Jul 13, 2023 · 2 comments
Closed

[Syncing] Blocked contact #11523

igor-sirotin opened this issue Jul 13, 2023 · 2 comments
Assignees
Labels
backend-team bug Something isn't working E:Desktop Messenger Syncing Issues about syncing Messenger data when recovering an account

Comments

@igor-sirotin
Copy link
Contributor

igor-sirotin commented Jul 13, 2023

Bug Report

This issue is originating from #10288.

There're various problems with syncing blocked contacts.
Problem is reproducible with both Mobile->Desktop and Desktop->Desktop.

1. Random timeline chats arising (desktop)

  1. Alice, David: create new profiles
  2. Alice: add David as mutual contact
  3. Alice: pair a new device
  4. Alice: block David
  5. Alice [device-2]: note that:
    • David is blocked
    • A chat with ourselves appeared
    • A timeline channel appeared
image

Logs: 1.log

2. blocked property is not synced during local pairing

  1. Alice, David: create new profiles
  2. Alice: add David as mutual contact
  3. Alice: block David
  4. Alice: pair a new device
  5. Alice [device-2]: note that David is not in blocked list (though it's not in contacts list as well)
Alice [device-1] Alice [device-2]
image image

Though if Alice blocks David while both device-1 and device-2 are running, the blocked property syncs with not problem.

image
@igor-sirotin igor-sirotin added the bug Something isn't working label Jul 13, 2023
@igor-sirotin igor-sirotin self-assigned this Jul 13, 2023
@alaibe alaibe removed the E:Syncing label Jul 17, 2023
@igor-sirotin igor-sirotin added the E:Desktop Messenger Syncing Issues about syncing Messenger data when recovering an account label Jul 24, 2023
@igor-sirotin
Copy link
Contributor Author

This one is reproducible purely with status-go. There's indeed several bugs, including unwanted timeline chats.
I'm working on a test that covers this and the fixes as well.

@igor-sirotin
Copy link
Contributor Author

The fix is here: status-im/status-go#3799
Already in status-desktop master branch. Tested both cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend-team bug Something isn't working E:Desktop Messenger Syncing Issues about syncing Messenger data when recovering an account
Projects
Archived in project
Development

No branches or pull requests

3 participants