Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Commit 046c263

Browse files
committed
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2 parents 4d9e3b9 + 1043020 commit 046c263

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
"markdown-it": "12.0.5",
182182
"markdown-it-anchor": "7.1.0",
183183
"matter-js": "0.17.1",
184-
"mfm-js": "0.16.0",
184+
"mfm-js": "0.16.2",
185185
"mocha": "8.3.2",
186186
"moji": "0.5.1",
187187
"ms": "2.1.3",

src/models/repositories/user.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export class UserRepository extends Repository<User> {
147147
}
148148

149149
public getOnlineStatus(user: User): string {
150-
if (user.hideOnlineStatus == null) return 'unknown';
150+
if (user.hideOnlineStatus) return 'unknown';
151151
if (user.lastActiveDate == null) return 'unknown';
152152
const elapsed = Date.now() - user.lastActiveDate.getTime();
153153
return (

0 commit comments

Comments
 (0)