diff --git a/matrix/server.py b/matrix/server.py index 181136a..bff5536 100644 --- a/matrix/server.py +++ b/matrix/server.py @@ -1034,13 +1034,6 @@ class MatrixServer(object): def handle_response(self, response): # type: (Response) -> None self.lag = response.elapsed * 1000 - - # If the response was a sync response and contained a timeout the - # timeout is expected and should be removed from the lag. - # TODO the timeout isn't a constant - if isinstance(response, SyncResponse): - self.lag = max(0, self.lag - (30000)) - self.lag_done = True W.bar_item_update("lag")