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

Fix/conversation deletion issues #1695

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

ThomasSession
Copy link
Collaborator

SES-2464 - Making sure that a deleted conversation heads back to the home page on a clear stack
SES-2522 - Making sure we hide contacts that are missing from the config file

Making sure we deleted conversations when a contact is missing from the config while existing locally
} == null
}
removedContacts.forEach {
getThreadId(fromSerialized(it.accountID))?.let(::deleteConversation)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if we should also remove other data. Like the one in ProfileManager. If you look at the code in the same function, back in around line 1233, new contacts get added into ProfileManager also.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the process of a thread deletion takes that into account eventually in threadDeleted.
What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants