diff --git a/src/models/repositories/user.ts b/src/models/repositories/user.ts
index 0d59ed2545e31993cdae1f69079365cd4357986a..1ebc16a5638dcfa46de9ddad1770bb5799ba1d5e 100644
--- a/src/models/repositories/user.ts
+++ b/src/models/repositories/user.ts
@@ -147,7 +147,7 @@ export class UserRepository extends Repository<User> {
 	}
 
 	public getOnlineStatus(user: User): string {
-		if (user.hideOnlineStatus == null) return 'unknown';
+		if (user.hideOnlineStatus) return 'unknown';
 		if (user.lastActiveDate == null) return 'unknown';
 		const elapsed = Date.now() - user.lastActiveDate.getTime();
 		return (