diff --git a/src/classes/User.ts b/src/classes/User.ts index bbf2d685..fc5f56a5 100644 --- a/src/classes/User.ts +++ b/src/classes/User.ts @@ -140,10 +140,10 @@ export class User { * @returns Status message */ statusMessage(translate: (presence: Presence) => string = (a) => a) { - return ( - this.status?.text ?? - (this.presence === "Focus" ? translate("Focus") : undefined) - ); + return this.online + ? this.status?.text ?? + (this.presence === "Focus" ? translate("Focus") : undefined) + : undefined; } /**