summaryrefslogtreecommitdiffstats
path: root/src/components/LeftSidebar/ConversationsList/ConversationsList.vue
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2020-12-23 11:51:22 +0100
committerVincent Petry <vincent@nextcloud.com>2020-12-23 11:51:22 +0100
commit4e826b5121426f66223fcba16bc43efddd9976bb (patch)
treef4cdb655ce380cac1e6b1e49ddc5d74fe3c69891 /src/components/LeftSidebar/ConversationsList/ConversationsList.vue
parent512112d22d6d30490a7bca5c33f744181b816913 (diff)
Remove unused newMessagePosted event
Fixes issue with errors in console due to the missing event handler function. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/components/LeftSidebar/ConversationsList/ConversationsList.vue')
-rw-r--r--src/components/LeftSidebar/ConversationsList/ConversationsList.vue3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/components/LeftSidebar/ConversationsList/ConversationsList.vue b/src/components/LeftSidebar/ConversationsList/ConversationsList.vue
index a16742ecf..82f714c4d 100644
--- a/src/components/LeftSidebar/ConversationsList/ConversationsList.vue
+++ b/src/components/LeftSidebar/ConversationsList/ConversationsList.vue
@@ -75,8 +75,6 @@ export default {
mounted() {
EventBus.$on('routeChange', this.onRouteChange)
- EventBus.$on('newMessagePosted', this.onMessagePosted)
-
EventBus.$once('joinedConversation', ({ token }) => {
this.scrollToConversation(token)
})
@@ -84,7 +82,6 @@ export default {
beforeDestroy() {
EventBus.$off('routeChange', this.onRouteChange)
- EventBus.$off('newMessagePosted', this.onMessagePosted)
},
methods: {