We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7a99fb commit 2752df3Copy full SHA for 2752df3
src/ChatWindow/RoomsList/RoomContent.vue
@@ -176,7 +176,7 @@ export default {
176
if (!this.room.users || this.room.users.length !== 2) return
177
178
const user = this.room.users.find(u => u._id !== this.currentUserId)
179
- if (user.status) return user.status.state
+ if (user && user.status) return user.status.state
180
181
return null
182
},
0 commit comments