1 import { Account as ServerAccount } from '../../../../../shared/models/actors/account.model'
2 import { Actor } from '../actor/actor.model'
4 export class Account extends Actor implements ServerAccount {
13 constructor (hash: ServerAccount) {
16 this.displayName = hash.displayName
17 this.description = hash.description
18 this.userId = hash.userId
19 this.nameWithHost = Actor.CREATE_BY_STRING(this.name, this.host)
22 this.mutedServer = false