server: Remove unneeded key query code in the timer callback.

This commit is contained in:
Damir Jelić 2018-09-21 11:57:51 +02:00
parent 8fbaf763b1
commit 8a73f2c119

View file

@ -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