Browse Source
Fix video verification for registered users
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/2934/head
Joas Schilling
6 years ago
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with
5 additions and
3 deletions
-
src/PublicShareAuthSidebar.vue
|
|
@ -110,6 +110,10 @@ export default { |
|
|
|
methods: { |
|
|
|
|
|
|
|
async joinConversation() { |
|
|
|
if (getCurrentUser()) { |
|
|
|
this.$store.dispatch('setCurrentUser', getCurrentUser()) |
|
|
|
} |
|
|
|
|
|
|
|
await joinConversation(this.token) |
|
|
|
|
|
|
|
// Fetching the conversation needs to be done once the user has |
|
|
@ -161,9 +165,7 @@ export default { |
|
|
|
// Although the current participant is automatically added to |
|
|
|
// the participants store it must be explicitly set in the |
|
|
|
// actors store. |
|
|
|
if (getCurrentUser()) { |
|
|
|
this.$store.dispatch('setCurrentUser', getCurrentUser()) |
|
|
|
} else { |
|
|
|
if (!this.$store.getters.getUserId()) { |
|
|
|
// Setting a guest only uses "sessionId" and "participantType". |
|
|
|
this.$store.dispatch('setCurrentParticipant', response.data.ocs.data) |
|
|
|
} |
|
|
|