mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
timerender: Remove "Active just now" user status.
Currently, we only show the "Active just now" status once a user has gone offline within the last 2 minutes. This ends up never showing up the threshhold which the client marks an user as user is longer than 3 minutes. Thus deemingthe user status as useless. After a discussion on CZO, it was decided that we should remove this status altogether as the phrasing doesn't make sense as well.
This commit is contained in:
@@ -240,9 +240,6 @@ export function last_seen_status_from_date(
|
||||
current_date = new Date(),
|
||||
): string {
|
||||
const minutes = differenceInMinutes(current_date, last_active_date);
|
||||
if (minutes <= 2) {
|
||||
return $t({defaultMessage: "Active just now"});
|
||||
}
|
||||
if (minutes < 60) {
|
||||
return $t({defaultMessage: "Active {minutes} minutes ago"}, {minutes});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user