Skip to content

Commit

Permalink
fix: Remove unused computed properties
Browse files Browse the repository at this point in the history
"guestName" in "LocalVideo" is unused since "NcAvatar" was replaced by
"AvatarWrapper" in 973a735.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
  • Loading branch information
danxuliu committed Aug 14, 2024
1 parent c8d221a commit 011efc2
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/components/CallView/shared/LocalVideo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ import VideoBackground from './VideoBackground.vue'
import AvatarWrapper from '../../AvatarWrapper/AvatarWrapper.vue'

import { AVATAR } from '../../../constants.js'
import { useGuestNameStore } from '../../../stores/guestName.js'
import attachMediaStream from '../../../utils/attachmediastream.js'
import { ConnectionState } from '../../../utils/webrtc/models/CallParticipantModel.js'

Expand Down Expand Up @@ -122,11 +121,6 @@ export default {

emits: ['click-video'],

setup() {
const guestNameStore = useGuestNameStore()
return { guestNameStore }
},

data() {
return {
notificationHandle: null,
Expand Down Expand Up @@ -183,17 +177,6 @@ export default {
return this.$store.getters.getDisplayName()
},

sessionHash() {
return Hex.stringify(SHA1(this.localCallParticipantModel.attributes.peerId))
},

guestName() {
return this.guestNameStore.getGuestName(
this.$store.getters.getToken(),
this.sessionHash,
)
},

videoWrapperClass() {
return {
'icon-loading': this.isNotConnected,
Expand Down

0 comments on commit 011efc2

Please sign in to comment.