Mercurial > pidgin
comparison src/protocols/msn/msn.c @ 19828:e45fae8209c3
[gaim-migrate @ 17045]
add a MIME encode function,processing utf-8 and base64 encode
committed by MaYuan<mayuan2006@gmail.com>
committer: Ethan Blanton <elb@pidgin.im>
author | Ma Yuan <mayuan2006@gmail.com> |
---|---|
date | Sat, 26 Aug 2006 13:03:11 +0000 |
parents | 349b85feaefa |
children | 3b971c87279d |
comparison
equal
deleted
inserted
replaced
19827:349b85feaefa | 19828:e45fae8209c3 |
---|---|
891 char *friendname; | 891 char *friendname; |
892 | 892 |
893 gaim_debug_info("MaYuan","prepare to send offline Message\n"); | 893 gaim_debug_info("MaYuan","prepare to send offline Message\n"); |
894 session = gc->proto_data; | 894 session = gc->proto_data; |
895 oim = session->oim; | 895 oim = session->oim; |
896 friendname = g_strdup_printf("=?utf-8?B?Y2xpZW50?="); | 896 friendname = msn_encode_mime(account->username); |
897 msn_oim_prep_send_msg_info(oim, | 897 msn_oim_prep_send_msg_info(oim, |
898 gaim_account_get_username(account),friendname,who, | 898 gaim_account_get_username(account),friendname,who, |
899 message); | 899 message); |
900 msn_oim_send_msg(oim); | 900 msn_oim_send_msg(oim); |
901 } | 901 } |