Mercurial > pidgin
comparison src/protocols/oscar/oscar.c @ 9680:958cfbb47ad6
[gaim-migrate @ 10532]
Dave West fixed bug 720441, "ICQ Offline messages have GMT timestamp."
Thanks!
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 05 Aug 2004 21:15:41 +0000 |
parents | 52319a1d9a55 |
children | bd5abccacff2 |
comparison
equal
deleted
inserted
replaced
9679:9c9932c9cd09 | 9680:958cfbb47ad6 |
---|---|
3504 | 3504 |
3505 /* If the message came from an ICQ user then escape any HTML */ | 3505 /* If the message came from an ICQ user then escape any HTML */ |
3506 tmp = gaim_escape_html(msg2[0]); | 3506 tmp = gaim_escape_html(msg2[0]); |
3507 | 3507 |
3508 if (t) { /* This is an offline message */ | 3508 if (t) { /* This is an offline message */ |
3509 /* I think this timestamp is in UTC, or something */ | 3509 /* The timestamp is UTC-ish, so we need to get the offset */ |
3510 tzset(); | |
3511 t -= timezone; | |
3510 serv_got_im(gc, uin, tmp, 0, t); | 3512 serv_got_im(gc, uin, tmp, 0, t); |
3511 } else { /* This is a message from MacICQ/Miranda */ | 3513 } else { /* This is a message from MacICQ/Miranda */ |
3512 serv_got_im(gc, uin, tmp, 0, time(NULL)); | 3514 serv_got_im(gc, uin, tmp, 0, time(NULL)); |
3513 } | 3515 } |
3514 g_free(uin); | 3516 g_free(uin); |