return `${window.location.origin}/client/assets/images/default-avatar-videochannel.png`
}
- constructor (hash: ServerVideoChannel) {
+ constructor (hash: Partial<ServerVideoChannel>) {
super(hash)
this.displayName = hash.displayName
this.updateBanner(null)
}
- private updateComputedAttributes () {
+ updateComputedAttributes () {
this.avatarUrl = VideoChannel.GET_ACTOR_AVATAR_URL(this)
this.bannerUrl = VideoChannel.GET_ACTOR_BANNER_URL(this)
}