Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/userlist.c @ 25172:fd5eedf131b4
Generalize the FQY command so it can be used by different callbacks based
on the place that called it. Then automatically call an FQY when sending
the buddy list ADL's for a buddy with an unknown network. Then we can send
a corrected ADL later with the network from the FQY.
This should make it easier for people with OCS/Yahoo contacts that were
added incorrectly by previous versions, as they shouldn't need to mess with
their address book outside of Pidgin (but if there are multiple buddy
copies, that may need fixing externally). I should probably figure out how
to permanently fix the Membership lists, eventually.
References #6755.
References #3322
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 27 Feb 2009 07:13:20 +0000 |
parents | f3950234b164 |
children | 4b8c4870b13a c384d62009c0 |
comparison
equal
deleted
inserted
replaced
25169:14b927f45ec5 | 25172:fd5eedf131b4 |
---|---|
768 | 768 |
769 /* | 769 /* |
770 * Actually adds a buddy once we have the response from FQY | 770 * Actually adds a buddy once we have the response from FQY |
771 */ | 771 */ |
772 void | 772 void |
773 msn_userlist_add_pending_buddy(MsnUserList *userlist, | 773 msn_userlist_add_pending_buddy(MsnSession *session, |
774 const char *who, | 774 const char *who, |
775 /*MsnNetwork*/ int network) | 775 /*MsnNetwork*/ int network) |
776 { | 776 { |
777 MsnUserList *userlist = session->userlist; | |
777 MsnUser *user = NULL; | 778 MsnUser *user = NULL; |
778 MsnUser *user2; | 779 MsnUser *user2; |
779 GList *l; | 780 GList *l; |
780 char *group; | 781 char *group; |
781 | 782 |