From 8a73f2c119616776c6455d56476ad9a716253ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Fri, 21 Sep 2018 11:57:51 +0200 Subject: [PATCH] server: Remove unneeded key query code in the timer callback. --- matrix/server.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/matrix/server.py b/matrix/server.py index 5b58e47..4259805 100644 --- a/matrix/server.py +++ b/matrix/server.py @@ -1006,16 +1006,6 @@ def matrix_timer_cb(server_name, remaining_calls): if not server.next_batch: return W.WEECHAT_RC_OK - # check for new devices by users in encrypted rooms periodically - # if (not server.device_check_timestamp or - # current_time - server.device_check_timestamp > 600): - - # W.prnt(server.server_buffer, - # "{prefix}matrix: Querying user devices.".format( - # prefix=W.prefix("networ"))) - - # server.device_check_timestamp = current_time - return W.WEECHAT_RC_OK