Skip to content

Commit

Permalink
Merge pull request #13991 from nextcloud/fix/13915/throw-create-room
Browse files Browse the repository at this point in the history
[stable30] fix(store): throw error from room creation to handle in component
  • Loading branch information
Antreesy authored Dec 13, 2024
2 parents f0c5fc4 + 4bf3e46 commit 91e3fab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/store/conversationsStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -994,8 +994,7 @@ const actions = {
context.dispatch('addConversation', conversation)
return conversation.token
} catch (error) {
console.error('Error creating new group conversation: ', error)
return ''
return Promise.reject(error)
}
},

Expand Down

0 comments on commit 91e3fab

Please sign in to comment.