fix(client): fixed online status for bots
This commit is contained in:
parent
37398d1080
commit
860a0e623f
1 changed files with 3 additions and 3 deletions
|
@ -127,10 +127,10 @@ export class User {
|
|||
let date: Date
|
||||
|
||||
const us = status
|
||||
if (!us) {
|
||||
ret = 'long_time_ago'
|
||||
} else if (bot) {
|
||||
if (bot) {
|
||||
ret = 'bot'
|
||||
} else if (!us) {
|
||||
ret = 'long_time_ago'
|
||||
} else
|
||||
switch (us._) {
|
||||
case 'userStatusOnline':
|
||||
|
|
Loading…
Reference in a new issue