comparison libpurple/protocols/qq/qq.c @ 24159:9be95f0b9472

2008.10.10 - ccpaging <ccpaging(at)gmail.com> * Keep group_search.c/h for later use * Update 'group'
author SHiNE CsyFeK <csyfek@gmail.com>
date Tue, 28 Oct 2008 16:40:56 +0000
parents 1ee91ff0d5fe
children d35672443baa
comparison
equal deleted inserted replaced
24158:b6f09c1c79ce 24159:9be95f0b9472
482 g_return_val_if_fail(strlen(message) <= QQ_MSG_IM_MAX, -E2BIG); 482 g_return_val_if_fail(strlen(message) <= QQ_MSG_IM_MAX, -E2BIG);
483 483
484 purple_debug_info("QQ_MESG", "Send qun mesg in utf8: %s\n", message); 484 purple_debug_info("QQ_MESG", "Send qun mesg in utf8: %s\n", message);
485 msg = utf8_to_qq(message, QQ_CHARSET_DEFAULT); 485 msg = utf8_to_qq(message, QQ_CHARSET_DEFAULT);
486 msg_with_qq_smiley = purple_smiley_to_qq(msg); 486 msg_with_qq_smiley = purple_smiley_to_qq(msg);
487 qq_send_packet_group_im(gc, room_id, msg_with_qq_smiley); 487 qq_request_room_send_im(gc, room_id, msg_with_qq_smiley);
488 g_free(msg); 488 g_free(msg);
489 g_free(msg_with_qq_smiley); 489 g_free(msg_with_qq_smiley);
490 490
491 return 1; 491 return 1;
492 } 492 }
734 PurpleConnection *gc = (PurpleConnection *) action->context; 734 PurpleConnection *gc = (PurpleConnection *) action->context;
735 purple_request_input(gc, _("Create QQ Qun"), 735 purple_request_input(gc, _("Create QQ Qun"),
736 _("Input Qun name here"), 736 _("Input Qun name here"),
737 _("Only QQ members can create permanent Qun"), 737 _("Only QQ members can create permanent Qun"),
738 "OpenQ", FALSE, FALSE, NULL, 738 "OpenQ", FALSE, FALSE, NULL,
739 _("Create"), G_CALLBACK(qq_room_create_new), _("Cancel"), NULL, gc); 739 _("Create"), G_CALLBACK(qq_create_room), _("Cancel"), NULL, gc);
740 } 740 }
741 */ 741 */
742 742
743 static void action_chat_quit(PurpleBlistNode * node) 743 static void action_chat_quit(PurpleBlistNode * node)
744 { 744 {