Mercurial > pidgin
changeset 3316:76a0e566d834
[gaim-migrate @ 3334]
Ability to receive messages from Mac ICQ and Miranda ICQ. (Thanks, Mark
Doliner)
committer: Tailor Script <tailor@pidgin.im>
author | Jim Seymour <jseymour> |
---|---|
date | Sun, 16 Jun 2002 16:14:22 +0000 |
parents | c685bb6109c7 |
children | ed44ef6b65d9 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sat Jun 15 20:24:01 2002 +0000 +++ b/src/protocols/oscar/oscar.c Sun Jun 16 16:14:22 2002 +0000 @@ -1485,6 +1485,16 @@ struct gaim_connection *gc = sess->aux_data; switch (args->type) { + case 0x0001: { /* An almost-normal instant message. Mac ICQ sends this. It's peculiar. */ + char *uin, *message; + uin = g_strdup_printf("%lu", args->uin); + message = g_strdup(args->msg); + strip_linefeed(message); + serv_got_im(gc, uin, message, 0, time(NULL), -1); + g_free(uin); + g_free(message); + } break; + case 0x0006: { /* Someone requested authorization */ gaim_icq_authask(gc, args->uin, args->msg); } break;