make presence timestamps less verbose

This commit is contained in:
Matthew Hodgson 2014-08-16 13:30:34 +01:00
parent dc6212b6fb
commit e4770bb039

View File

@ -106,12 +106,12 @@ matrixWebClient
return s + "s"
}
if (t < 60 * 60) {
return m + "m " + s + "s";
return m + "m "; // + s + "s";
}
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) {