From 16a2215cfc5442a6cd5a3fb402eab751dfa95339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?poljar=20=28Damir=20Jeli=C4=87=29?= Date: Tue, 6 Mar 2018 17:18:30 +0100 Subject: [PATCH] utils: Rename age to timestamp in server_ts_to_weechat. --- matrix/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix/utils.py b/matrix/utils.py index a29e463..a4d45ac 100644 --- a/matrix/utils.py +++ b/matrix/utils.py @@ -113,9 +113,9 @@ def color_for_tags(color): return color -def server_ts_to_weechat(age): +def server_ts_to_weechat(timestamp): # type: (float) -> int - date = int(age / 1000) + date = int(timestamp / 1000) return date