From a548e2ff6df2abec1791464055deeb9976ca73f8 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 12 Jul 2016 21:05:46 +0200 Subject: Improve refresh performance in big rooms going through a list with more than 1000 elements, one at a time, can be a bit tedious. Especially if you go through it every time you receive one of those elements. --- poezio/core/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/core/handlers.py') diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index 70c2e59c..e1fc292b 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -532,7 +532,7 @@ class HandlerCore: if tab is self.core.current_tab(): tab.text_win.refresh() - tab.info_header.refresh(tab, tab.text_win) + tab.info_header.refresh(tab, tab.text_win, user=tab.own_user) tab.input.refresh() self.core.doupdate() elif tab.state != old_state: -- cgit v1.2.3