export class Account extends Actor implements ServerAccount {
displayName: string
description: string
+
+ updatedAt: Date | string
+
nameWithHost: string
nameWithHostForced: string
+
mutedByUser: boolean
mutedByInstance: boolean
mutedServerByUser: boolean
this.nameWithHost = Actor.CREATE_BY_STRING(this.name, this.host)
this.nameWithHostForced = Actor.CREATE_BY_STRING(this.name, this.host, true)
+ if (hash.updatedAt) this.updatedAt = new Date(hash.updatedAt.toString())
+
this.mutedByUser = false
this.mutedByInstance = false
this.mutedServerByUser = false