Mercurial > pidgin
diff libpurple/protocols/qq/group_im.c @ 16439:08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
| author | Evan Schoenberg <evan.s@dreskin.net> |
|---|---|
| date | Thu, 26 Apr 2007 12:25:49 +0000 |
| parents | 85d5942e80e9 |
| children | 833f7cbe4f12 |
line wrap: on
line diff
--- a/libpurple/protocols/qq/group_im.c Thu Apr 26 10:49:27 2007 +0000 +++ b/libpurple/protocols/qq/group_im.c Thu Apr 26 12:25:49 2007 +0000 @@ -104,6 +104,7 @@ guint8 group_type; gchar *reason_utf8, *msg, *reason; group_member_opt *g; + gchar *nombre; g_return_if_fail(internal_group_id > 0 && data != NULL && len > 0); @@ -128,9 +129,13 @@ g->internal_group_id = internal_group_id; g->member = user_uid; + nombre = uid_to_purple_name(user_uid); + purple_request_action(gc, _("QQ Qun Operation"), msg, reason, - 2, g, 3, + 2, + purple_connection_get_account(gc), nombre, NULL, + g, 3, _("Approve"), G_CALLBACK (qq_group_approve_application_with_struct), @@ -139,6 +144,7 @@ (qq_group_reject_application_with_struct), _("Search"), G_CALLBACK(qq_group_search_application_with_struct)); + g_free(nombre); g_free(reason); g_free(msg); g_free(reason_utf8);
