Mercurial > pidgin
diff libpurple/protocols/msn/user.c @ 24518:4fd22591e3f0
Send FQY as the first thing when adding a buddy so that we know what network
they use. Should be helpful for adding federated buddies.
References #6755.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 07 Dec 2008 07:09:57 +0000 |
parents | e344426d7c28 |
children | f5188d4d84e3 65cfc59858cf 1260a3fb60f4 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/user.c Sun Dec 07 07:04:23 2008 +0000 +++ b/libpurple/protocols/msn/user.c Sun Dec 07 07:09:57 2008 +0000 @@ -340,6 +340,20 @@ } void +msn_user_set_pending_group(MsnUser *user, const char *group) +{ + user->pending_group = g_strdup(group); +} + +char * +msn_user_remove_pending_group(MsnUser *user) +{ + char *group = user->pending_group; + user->pending_group = NULL; + return group; +} + +void msn_user_set_home_phone(MsnUser *user, const char *number) { g_return_if_fail(user != NULL);