mirror of
https://github.com/element-hq/synapse
synced 2024-09-29 19:22:40 +00:00
make presence timestamps less verbose
This commit is contained in:
parent
dc6212b6fb
commit
e4770bb039
1 changed files with 3 additions and 3 deletions
|
@ -106,12 +106,12 @@ matrixWebClient
|
||||||
return s + "s"
|
return s + "s"
|
||||||
}
|
}
|
||||||
if (t < 60 * 60) {
|
if (t < 60 * 60) {
|
||||||
return m + "m " + s + "s";
|
return m + "m "; // + s + "s";
|
||||||
}
|
}
|
||||||
if (t < 24 * 60 * 60) {
|
if (t < 24 * 60 * 60) {
|
||||||
return h + "h " + m + "m";
|
return h + "h "; // + m + "m";
|
||||||
}
|
}
|
||||||
return d + "d " + h + "h";
|
return d + "d "; // + h + "h";
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.filter('orderMembersList', function($sce) {
|
.filter('orderMembersList', function($sce) {
|
||||||
|
|
Loading…
Reference in a new issue