-
Notifications
You must be signed in to change notification settings - Fork 292
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
runfix: 1:1 conversation with user without key packages #17371
Conversation
db972cf
to
8d27e8a
Compare
private readonly updateConversationReadOnlyState = async ( | ||
conversationEntity: Conversation, | ||
conversationReadOnlyState: CONVERSATION_READONLY_STATE | null, | ||
) => { | ||
conversationEntity.readOnlyState(conversationReadOnlyState); | ||
await this.saveConversationStateInDb(conversationEntity); | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to save the state manually, there's a subscription that updates the db whenever the value changes. See https://github.com/wireapp/wire-webapp/blob/runfix/1to1-migration-no-keys/src/script/entity/Conversation.ts#L582
Quality Gate passedIssues Measures |
* refactor: update conversaiton readonly state * runfix: optionally do not allow unestablished mls 1:1 * feat: add a placeholder message for readonly 1:1 with a user without keys * runfix: update copy * test: readonly mls 1:1 no available keys
Description
Handles a 1:1 conversation with a user that don't have any key packages available to establish a MLS 1:1 conversation.
Screenshots/Screencast (for UI changes)
Checklist