Mercurial > pidgin
comparison libpurple/protocols/qq/group_im.c @ 24140:619ac2303c46
2009.10.02 - ccpaging <ccpaging(at)gmail.com>
* Added 'Captcha Display' function
* Most functions from patch written by Emil Alexiev merged into trunk,
except 'buddy operations'
* 'online buddy status' and 'qun buddies' still have problems
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Wed, 22 Oct 2008 14:43:46 +0000 |
parents | dbc7a9742f8d |
children | a95c7e71064c |
comparison
equal
deleted
inserted
replaced
24139:832178d951ca | 24140:619ac2303c46 |
---|---|
399 else | 399 else |
400 packet.font_attr = NULL; | 400 packet.font_attr = NULL; |
401 | 401 |
402 /* group im_group has no flag to indicate whether it has font_attr or not */ | 402 /* group im_group has no flag to indicate whether it has font_attr or not */ |
403 msg_with_purple_smiley = qq_smiley_to_purple(packet.msg); | 403 msg_with_purple_smiley = qq_smiley_to_purple(packet.msg); |
404 if (packet.font_attr_len > 0) | 404 if (packet.font_attr_len > 0) { |
405 msg_utf8_encoded = qq_encode_to_purple(packet.font_attr, | 405 msg_utf8_encoded = qq_encode_to_purple(packet.font_attr, |
406 packet.font_attr_len, msg_with_purple_smiley); | 406 packet.font_attr_len, msg_with_purple_smiley, qd->client_version); |
407 else | 407 } else { |
408 msg_utf8_encoded = qq_to_utf8(msg_with_purple_smiley, QQ_CHARSET_DEFAULT); | 408 msg_utf8_encoded = qq_to_utf8(msg_with_purple_smiley, QQ_CHARSET_DEFAULT); |
409 | 409 } |
410 group = qq_room_search_id(gc, id); | 410 group = qq_room_search_id(gc, id); |
411 qq_room_got_chat_in(gc, group, packet.member_uid, msg_utf8_encoded, packet.send_time); | 411 qq_room_got_chat_in(gc, group, packet.member_uid, msg_utf8_encoded, packet.send_time); |
412 | 412 |
413 g_free(msg_with_purple_smiley); | 413 g_free(msg_with_purple_smiley); |
414 g_free(msg_utf8_encoded); | 414 g_free(msg_utf8_encoded); |