Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/xmpp_iq.c @ 2312:def5f64c253d
Rebuild the buddylist after disconnect/before buddylist search
author | franky |
---|---|
date | Sun, 19 Feb 2017 18:55:12 +0100 |
parents | 4f3821bda633 |
children | db8de1b464d3 |
comparison
equal
deleted
inserted
replaced
2311:962c98e4864d | 2312:def5f64c253d |
---|---|
666 result = lm_message_new_iq_from_query(m, LM_MESSAGE_SUB_TYPE_RESULT); | 666 result = lm_message_new_iq_from_query(m, LM_MESSAGE_SUB_TYPE_RESULT); |
667 lm_connection_send(c, result, NULL); | 667 lm_connection_send(c, result, NULL); |
668 lm_message_unref(result); | 668 lm_message_unref(result); |
669 } | 669 } |
670 | 670 |
671 buddylist_defer_build(); | |
672 scr_update_roster(); | 671 scr_update_roster(); |
673 if (need_refresh) | 672 if (need_refresh) |
674 scr_update_buddy_window(); | 673 scr_update_buddy_window(); |
675 return LM_HANDLER_RESULT_REMOVE_MESSAGE; | 674 return LM_HANDLER_RESULT_REMOVE_MESSAGE; |
676 } | 675 } |