Mercurial > pidgin.yaz
diff libpurple/protocols/mxit/roster.c @ 31937:aa74632c869d
Add the invite message support to MXit prpl.
author | andrew.victor@mxit.com |
---|---|
date | Mon, 21 Mar 2011 16:30:01 +0000 |
parents | b8d9329dda4a |
children | 80bbed4cb649 |
line wrap: on
line diff
--- a/libpurple/protocols/mxit/roster.c Mon Mar 21 13:52:02 2011 +0000 +++ b/libpurple/protocols/mxit/roster.c Mon Mar 21 16:30:01 2011 +0000 @@ -680,8 +680,9 @@ * @param gc The connection object * @param buddy The new buddy * @param group The group of the new buddy + * @param message The invite message */ -void mxit_add_buddy( PurpleConnection* gc, PurpleBuddy* buddy, PurpleGroup* group ) +void mxit_add_buddy( PurpleConnection* gc, PurpleBuddy* buddy, PurpleGroup* group, const char* message ) { struct MXitSession* session = (struct MXitSession*) gc->proto_data; GSList* list = NULL; @@ -702,7 +703,7 @@ * you accept an invite. so in that case the user is already * in our blist and ready to be chatted to. */ - mxit_send_invite( session, buddy_name, buddy_alias, group_name ); + mxit_send_invite( session, buddy_name, buddy_alias, group_name, message ); } else { purple_debug_info( MXIT_PLUGIN_ID, "mxit_add_buddy (scenario 2) (list:%i)\n", g_slist_length( list ) );