Mercurial > pidgin
diff plugins/yay/rxhandlers.c @ 1737:82c824fe018e
[gaim-migrate @ 1747]
be able to handle offline messages. should make it so that they have the correct timestamp, but eh. that'll have to come later, when the UI can handle it.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 21 Apr 2001 01:59:38 +0000 |
parents | 20f070721b9f |
children | 703a567ec4bf |
line wrap: on
line diff
--- a/plugins/yay/rxhandlers.c Sat Apr 21 01:25:30 2001 +0000 +++ b/plugins/yay/rxhandlers.c Sat Apr 21 01:59:38 2001 +0000 @@ -170,10 +170,12 @@ char **str_array; switch(type) { case YAHOO_MESSAGE_NORMAL: - str_array = g_strsplit(pkt->content, ",,", 2); + str_array = g_strsplit(pkt->content, ",", 3); if (sess->callbacks[YAHOO_HANDLE_MESSAGE].function) (*sess->callbacks[YAHOO_HANDLE_MESSAGE].function)(sess, pkt->nick2, - str_array[0], str_array[1]); + str_array[0], + atol(str_array[1]), + str_array[2]); g_strfreev(str_array); break; case YAHOO_MESSAGE_BOUNCE: