Skip to content
Snippets Groups Projects
Unverified Commit 17f2e390 authored by syuilo's avatar syuilo Committed by GitHub
Browse files

fix #7466

parent 135ff280
No related branches found
No related tags found
No related merge requests found
......@@ -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 (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment