Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabber/hooks.c @ 2291:0d350e979bde
Don't rebuild the buddylist multiple times before a screen refresh
author | franky |
---|---|
date | Tue, 01 Nov 2016 08:39:07 +0100 |
parents | ece02eb9c81d |
children | f181418db215 |
line wrap: on
line diff
--- a/mcabber/mcabber/hooks.c Wed Dec 21 20:43:58 2016 +0100 +++ b/mcabber/mcabber/hooks.c Tue Nov 01 08:39:07 2016 +0100 @@ -567,7 +567,7 @@ roster_setstatus(bjid, rn, prio, status, status_msg, timestamp, role_none, affil_none, NULL); - buddylist_build(); + buddylist_defer_build(); update_roster = TRUE; hlog_write_status(bjid, timestamp, status, status_msg);