summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarco <marcoambrosini@icloud.com>2022-12-20 14:12:11 +0100
committerMarco <marcoambrosini@icloud.com>2023-01-24 15:10:55 +0000
commit51535766fa2bd311eb0a16543cabd94095f7b373 (patch)
treeeef14fdd265801261134a3ee886f7558ce0ca483 /src
parent27ae20f78bb2efe988a64d051dc37f452ee7f6e3 (diff)
Filter out breakout rooms from conversation list
Diffstat (limited to 'src')
-rw-r--r--src/store/conversationsStore.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/store/conversationsStore.js b/src/store/conversationsStore.js
index 3fdc1b15c..9843877dc 100644
--- a/src/store/conversationsStore.js
+++ b/src/store/conversationsStore.js
@@ -89,7 +89,9 @@ const state = {
const getters = {
conversations: state => state.conversations,
- conversationsList: state => Object.values(state.conversations),
+ conversationsList: state => Object.values(state.conversations).filter(conversation => {
+ return conversation.objectType !== 'room'
+ }),
/**
* Get a conversation providing it's token
*