From 85ca646825bec2153a24397c07437efe9821abe5 Mon Sep 17 00:00:00 2001 From: Maxim Leshchenko Date: Thu, 30 Dec 2021 18:53:55 +0200 Subject: [PATCH] Messenger: Do not display the correspondent's login date if it was too long ago --- Web/Presenters/templates/Messenger/App.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Presenters/templates/Messenger/App.xml b/Web/Presenters/templates/Messenger/App.xml index cb23ca79..920e7d69 100644 --- a/Web/Presenters/templates/Messenger/App.xml +++ b/Web/Presenters/templates/Messenger/App.xml @@ -5,7 +5,7 @@ {_my_messages} ยป {$correspondent->getCanonicalName()} -
+
{var diff = date_diff(date_create(), date_create('@' . $online))} {if 5 >= $diff->i} {_online}