Mercurial > pidgin.yaz
diff libpurple/protocols/oscar/libicq.c @ 31851:0cf50b0f7af4
Add invite message support to Oscar.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 20 Mar 2011 22:03:48 +0000 |
parents | 7c33eaed54e5 |
children | bfb4b66953b4 |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/libicq.c Sun Mar 20 21:47:54 2011 +0000 +++ b/libpurple/protocols/oscar/libicq.c Sun Mar 20 22:03:48 2011 +0000 @@ -38,7 +38,7 @@ static PurplePluginProtocolInfo prpl_info = { - OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE, + OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE | OPT_PROTO_INVITE_MESSAGE, NULL, /* user_splits */ NULL, /* protocol_options */ {"gif,jpeg,bmp,ico", 0, 0, 100, 100, 7168, PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */ @@ -59,7 +59,7 @@ oscar_set_status, /* set_status */ oscar_set_idle, /* set_idle */ oscar_change_passwd, /* change_passwd */ - oscar_add_buddy, /* add_buddy */ + NULL, /* add_buddy */ NULL, /* add_buddies */ oscar_remove_buddy, /* remove_buddy */ NULL, /* remove_buddies */ @@ -111,7 +111,7 @@ oscar_get_purple_moods, /* get_moods */ NULL, /* set_public_alias */ NULL, /* get_public_alias */ - NULL, /* add_buddy_with_invite */ + oscar_add_buddy, /* add_buddy_with_invite */ NULL /* add_buddies_with_invite */ };