comparison 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
comparison
equal deleted inserted replaced
2290:71ec41732035 2291:0d350e979bde
565 } 565 }
566 } 566 }
567 567
568 roster_setstatus(bjid, rn, prio, status, status_msg, timestamp, 568 roster_setstatus(bjid, rn, prio, status, status_msg, timestamp,
569 role_none, affil_none, NULL); 569 role_none, affil_none, NULL);
570 buddylist_build(); 570 buddylist_defer_build();
571 update_roster = TRUE; 571 update_roster = TRUE;
572 hlog_write_status(bjid, timestamp, status, status_msg); 572 hlog_write_status(bjid, timestamp, status, status_msg);
573 573
574 #ifdef MODULES_ENABLE 574 #ifdef MODULES_ENABLE
575 { 575 {