Skip to content

Commit

Permalink
Add conversation to store early when joining
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
  • Loading branch information
PVince81 committed Dec 3, 2020
1 parent 2fc5379 commit 2baed21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/participantsService.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ const joinConversation = async(token) => {
force: forceJoin,
})

store.dispatch('addConversation', response.data.ocs.data)

// Update the participant and actor session after a force join
store.dispatch('updateSessionId', {
token: token,
Expand Down

0 comments on commit 2baed21

Please sign in to comment.