fix: change values to consider user inactive or offline

This commit is contained in:
Richard Ramos 2021-08-06 13:47:34 -04:00 committed by Iuri Matias
parent 0a27623628
commit 1d4beeb041
1 changed files with 2 additions and 2 deletions

View File

@ -86,9 +86,9 @@ Item {
return Style.current.darkGrey
}
if (isCurrentUser || lastSeenMinutesAgo < 5){
if (isCurrentUser || lastSeenMinutesAgo < 5.5){
return statusType == Constants.statusType_DoNotDisturb ? Style.current.red : Style.current.green;
} else if (lastSeenMinutesAgo < 20) {
} else if (lastSeenMinutesAgo < 7) {
return statusType == Constants.statusType_DoNotDisturb ? Style.current.red : Style.current.orange;
}