Skip to content

Commit

Permalink
Always use MLS protocol and print future participants
Browse files Browse the repository at this point in the history
  • Loading branch information
mythsunwind committed May 29, 2024
1 parent 4c78308 commit 83eeb87
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,14 @@ sealed class ConversationRepository {
when (val session = session.currentSession()) {
is CurrentSessionResult.Success -> {
instance.coreLogic.sessionScope(session.accountInfo.userId) {
log.info("Instance ${instance.instanceId}: Create group conversation with ...")
when (val result = conversations.createGroupConversation(name, listOf(), ConversationOptions())) {
log.info("Instance ${instance.instanceId}: Create conversation \"$name\" with ${
userIds.joinToString { user -> user.value + "@" + user.domain }
}")
when (val result = conversations.createGroupConversation(
name,
userIds,
ConversationOptions(protocol = ConversationOptions.Protocol.MLS)
)) {
is CreateGroupConversationUseCase.Result.Success -> {
Response.status(Response.Status.OK).build()
}
Expand Down

0 comments on commit 83eeb87

Please sign in to comment.