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
|
let date: Date
|
||||||
|
|
||||||
const us = status
|
const us = status
|
||||||
if (!us) {
|
if (bot) {
|
||||||
ret = 'long_time_ago'
|
|
||||||
} else if (bot) {
|
|
||||||
ret = 'bot'
|
ret = 'bot'
|
||||||
|
} else if (!us) {
|
||||||
|
ret = 'long_time_ago'
|
||||||
} else
|
} else
|
||||||
switch (us._) {
|
switch (us._) {
|
||||||
case 'userStatusOnline':
|
case 'userStatusOnline':
|
||||||
|
|
Loading…
Reference in a new issue