Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/xmpp_iq.c @ 1919:fba12c1f6386
Send a result message when we receive a roster push
Reported by Hermitifier.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 09 Nov 2010 12:09:23 +0100 |
parents | e6d355e50d7a |
children | 51f032d5ca22 |
comparison
equal
deleted
inserted
replaced
1918:0fa6df17bc5c | 1919:fba12c1f6386 |
---|---|
634 | 634 |
635 g_free(name_tmp); | 635 g_free(name_tmp); |
636 g_free(cleanalias); | 636 g_free(cleanalias); |
637 } | 637 } |
638 | 638 |
639 // Acknowledge IQ message | |
640 if (lm_message_get_sub_type(m) == LM_MESSAGE_SUB_TYPE_SET) { | |
641 LmMessage *result; | |
642 result = lm_message_new_iq_from_query(m, LM_MESSAGE_SUB_TYPE_RESULT); | |
643 lm_connection_send(c, result, NULL); | |
644 lm_message_unref(result); | |
645 } | |
646 | |
639 buddylist_build(); | 647 buddylist_build(); |
640 update_roster = TRUE; | 648 update_roster = TRUE; |
641 if (need_refresh) | 649 if (need_refresh) |
642 scr_update_buddy_window(); | 650 scr_update_buddy_window(); |
643 return LM_HANDLER_RESULT_REMOVE_MESSAGE; | 651 return LM_HANDLER_RESULT_REMOVE_MESSAGE; |