Skip to content

Commit

Permalink
Merge pull request #13992 from nextcloud/backport/13991/stable29
Browse files Browse the repository at this point in the history
[stable29] fix(store): throw error from room creation to handle in component
  • Loading branch information
Antreesy authored Dec 14, 2024
2 parents aca20d9 + f6e78fa commit 0f861f5
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 @@ -963,8 +963,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 0f861f5

Please sign in to comment.