Skip to content

Commit

Permalink
fix: syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Silver-IT committed Feb 27, 2024
1 parent bbabced commit de1e3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/model/chatroom/vuexModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const getters = {
const p2JoinedDate = new Date(chatRoomState.members[p2].joinedDate).getTime()
return p1JoinedDate - p2JoinedDate
})
const hasActiveMember = partners.some(memberID => Object.keys(getters.profilesByGroup(groupID))).includes(memberID))
const hasActiveMember = partners.some(memberID => Object.keys(getters.profilesByGroup(groupID)).includes(memberID))
if (directMessageSettings.visible && hasActiveMember) {
// NOTE: lastJoinedParter is chatroom member who has joined the chatroom for the last time.
// His profile picture can be used as the picture of the direct message
Expand Down

0 comments on commit de1e3f5

Please sign in to comment.