From 0a65a2384c2d2ecde2915baefd70f25b75305772 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 31 Aug 2014 11:55:48 +0100 Subject: [PATCH] only show presence timings if we know them --- webclient/room/room.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webclient/room/room.html b/webclient/room/room.html index cfe6b99ea..19b112d00 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -27,7 +27,7 @@
{{ member.displayname || member.id.substr(0, member.id.indexOf(':')) }}
{{ member.displayname ? "" : member.id.substr(member.id.indexOf(':')) }}
- {{ member.mtime_age + (now - member.last_updated) | duration }}
{{ member.mtime_age ? "ago" : "" }} + {{ member.mtime_age + (now - member.last_updated) | duration }}
ago