Mercurial > pidgin
comparison libpurple/protocols/qq/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 | dc112387190f |
children | c2253c485728 |
comparison
equal
deleted
inserted
replaced
24139:832178d951ca | 24140:619ac2303c46 |
---|---|
388 | 388 |
389 msg_with_purple_smiley = qq_smiley_to_purple(im_text->msg); | 389 msg_with_purple_smiley = qq_smiley_to_purple(im_text->msg); |
390 msg_utf8_encoded = im_text->is_there_font_attr ? | 390 msg_utf8_encoded = im_text->is_there_font_attr ? |
391 qq_encode_to_purple(im_text->font_attr, | 391 qq_encode_to_purple(im_text->font_attr, |
392 im_text->font_attr_len, | 392 im_text->font_attr_len, |
393 msg_with_purple_smiley) : qq_to_utf8(msg_with_purple_smiley, QQ_CHARSET_DEFAULT); | 393 msg_with_purple_smiley, qd->client_version) |
394 : qq_to_utf8(msg_with_purple_smiley, QQ_CHARSET_DEFAULT); | |
394 | 395 |
395 /* send encoded to purple, note that we use im_text->send_time, | 396 /* send encoded to purple, note that we use im_text->send_time, |
396 * not the time we receive the message | 397 * not the time we receive the message |
397 * as it may have been delayed when I am not online. */ | 398 * as it may have been delayed when I am not online. */ |
398 serv_got_im(gc, name, msg_utf8_encoded, purple_msg_type, (time_t) im_text->send_time); | 399 serv_got_im(gc, name, msg_utf8_encoded, purple_msg_type, (time_t) im_text->send_time); |