diff options
Diffstat (limited to 'src/FilesSidebarTabApp.vue')
-rw-r--r-- | src/FilesSidebarTabApp.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/FilesSidebarTabApp.vue b/src/FilesSidebarTabApp.vue index 47c958e1f..77ab24996 100644 --- a/src/FilesSidebarTabApp.vue +++ b/src/FilesSidebarTabApp.vue @@ -200,10 +200,10 @@ export default { // "inCall" flag (which is locally updated when joining and leaving // a call) is currently used. if (loadState('spreed', 'signaling_mode') !== 'internal') { - EventBus.$on('shouldRefreshConversations', OCA.Talk.fetchCurrentConversationWrapper) - EventBus.$on('Signaling::participantListChanged', OCA.Talk.fetchCurrentConversationWrapper) + EventBus.$on('should-refresh-conversations', OCA.Talk.fetchCurrentConversationWrapper) + EventBus.$on('signaling-participant-list-changed', OCA.Talk.fetchCurrentConversationWrapper) } else { - // The "shouldRefreshConversations" event is triggered only when + // The "should-refresh-conversations" event is triggered only when // the external signaling server is used; when the internal // signaling server is used periodic polling has to be used // instead. @@ -212,8 +212,8 @@ export default { }, leaveConversation() { - EventBus.$off('shouldRefreshConversations', OCA.Talk.fetchCurrentConversationWrapper) - EventBus.$off('Signaling::participantListChanged', OCA.Talk.fetchCurrentConversationWrapper) + EventBus.$off('should-refresh-conversations', OCA.Talk.fetchCurrentConversationWrapper) + EventBus.$off('signaling-participant-list-changed', OCA.Talk.fetchCurrentConversationWrapper) window.clearInterval(OCA.Talk.fetchCurrentConversationIntervalId) // TODO: move to store under a special action ? |