diff --git a/src/PublicShareAuthSidebar.vue b/src/PublicShareAuthSidebar.vue index 1a81388b4..7e35f36e5 100644 --- a/src/PublicShareAuthSidebar.vue +++ b/src/PublicShareAuthSidebar.vue @@ -40,7 +40,7 @@ diff --git a/src/stores/guestName.js b/src/stores/guestName.js index bb489dca6..053219b8e 100644 --- a/src/stores/guestName.js +++ b/src/stores/guestName.js @@ -25,6 +25,7 @@ import Vue from 'vue' import { setGuestUserName } from '../services/participantsService.js' import store from '../store/index.js' +import { emit } from '@nextcloud/event-bus' export const useGuestNameStore = defineStore('guestName', { state: () => ({ @@ -112,6 +113,7 @@ export const useGuestNameStore = defineStore('guestName', { } else { localStorage.removeItem('nick') } + emit('talk:guest-name:added') } catch (error) { store.dispatch('setDisplayName', previousName)