diff --git a/webapp/components/Chat/AddChatRoomByUserSearch.vue b/webapp/components/Chat/AddChatRoomByUserSearch.vue
index b5cf0fd4c..a9a2a5bf6 100644
--- a/webapp/components/Chat/AddChatRoomByUserSearch.vue
+++ b/webapp/components/Chat/AddChatRoomByUserSearch.vue
@@ -5,28 +5,11 @@
-
diff --git a/webapp/pages/chat.vue b/webapp/pages/chat.vue
index bdc2a1ee2..a16fca5c5 100644
--- a/webapp/pages/chat.vue
+++ b/webapp/pages/chat.vue
@@ -3,13 +3,14 @@
{{ $t('chat.page.headline') }}
@@ -43,8 +44,9 @@ export default {
...mapMutations({
showChat: 'chat/SET_OPEN_CHAT',
}),
- loadChatRooms(newChatRoomID) {
- console.log('loadChatRooms !!! newChatRoomID: ', newChatRoomID)
+ addChatRoom(userID) {
+ console.log('addChatRoom !!! newChatRoomID: ', userID)
+ this.$refs.chat.newRoom(userID)
},
},
}