summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
*