From da9565272d63ada7384efef6339e8fb909dfcf79 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 9 Sep 2022 18:03:53 +0200 Subject: logging cleanup --- client-web/source/user/mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client-web/source/user/mod.ts') diff --git a/client-web/source/user/mod.ts b/client-web/source/user/mod.ts index cbe9468..b01dc16 100644 --- a/client-web/source/user/mod.ts +++ b/client-web/source/user/mod.ts @@ -15,7 +15,7 @@ export abstract class User { private _name?: string get name() { return this._name } set name(n: string | undefined) { this._name = n; this.name_el.textContent = this.display_name } - get display_name() { return this.name ?? `guest (${this.id})` } + get display_name() { return this.name ?? `unknown (${this.id})` } constructor(public room: Room, public id: number) { room.users.set(this.id, this) -- cgit v1.2.3-70-g09d2