fix: change values to consider user inactive or offline
This commit is contained in:
parent
0a27623628
commit
1d4beeb041
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue