diff --git a/package.json b/package.json index f3a4930cc1..a54ba04416 100644 --- a/package.json +++ b/package.json @@ -181,7 +181,7 @@ "markdown-it": "12.0.5", "markdown-it-anchor": "7.1.0", "matter-js": "0.17.1", - "mfm-js": "0.16.0", + "mfm-js": "0.16.2", "mocha": "8.3.2", "moji": "0.5.1", "ms": "2.1.3", diff --git a/src/models/repositories/user.ts b/src/models/repositories/user.ts index 0d59ed2545..1ebc16a563 100644 --- a/src/models/repositories/user.ts +++ b/src/models/repositories/user.ts @@ -147,7 +147,7 @@ export class UserRepository extends Repository { } 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 (