Skip to content

Commit

Permalink
fixup! move sortParticipants method to composable
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy committed Sep 12, 2023
1 parent 0299797 commit cadf32e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/composables/useSortParticipants.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export function useSortParticipants() {

const selfIsModerator = computed(() => {
const participantType = store.getters.conversation(store.getters.getToken())?.participantType
|| (store.getters.getUserId() !== null ? PARTICIPANT.TYPE.USER : PARTICIPANT.TYPE.GUEST)
return MODERATOR_TYPES.includes(participantType)
})

Expand Down

0 comments on commit cadf32e

Please sign in to comment.