Mercurial > pidgin
comparison src/server.c @ 5063:be31fb7a719e
[gaim-migrate @ 5414]
"CVS will be broken frequently for fun"
--Topic, #gaim, 07 April 2003
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Mon, 07 Apr 2003 17:11:23 +0000 |
| parents | cb700c07ee07 |
| children | b37d7d09ec83 |
comparison
equal
deleted
inserted
replaced
| 5062:736a98f23fcc | 5063:be31fb7a719e |
|---|---|
| 813 qm->tm = mtime; | 813 qm->tm = mtime; |
| 814 qm->flags = away | WFLAG_RECV; | 814 qm->flags = away | WFLAG_RECV; |
| 815 qm->len = len; | 815 qm->len = len; |
| 816 unread_message_queue = g_slist_append(unread_message_queue, qm); | 816 unread_message_queue = g_slist_append(unread_message_queue, qm); |
| 817 } else { | 817 } else { |
| 818 /* "CVS will be broken frequently for fun" | |
| 819 -- Topic on #gaim, 7 April 2003 */ | |
| 820 char *upper = g_ascii_strup(message, len); | |
| 818 if (cnv == NULL) | 821 if (cnv == NULL) |
| 819 cnv = gaim_conversation_new(GAIM_CONV_IM, gc->account, name); | 822 cnv = gaim_conversation_new(GAIM_CONV_IM, gc->account, name); |
| 820 | 823 |
| 821 /* CONV XXX gaim_conversation_set_name(cnv, name); */ | 824 /* CONV XXX gaim_conversation_set_name(cnv, name); */ |
| 822 | 825 |
| 823 gaim_im_write(GAIM_IM(cnv), NULL, message, len, | 826 gaim_im_write(GAIM_IM(cnv), NULL, upper, len, |
| 824 away | WFLAG_RECV, mtime); | 827 away | WFLAG_RECV, mtime); |
| 825 gaim_window_flash(gaim_conversation_get_window(cnv)); | 828 gaim_window_flash(gaim_conversation_get_window(cnv)); |
| 829 g_free(upper); | |
| 826 } | 830 } |
| 827 } | 831 } |
| 828 | 832 |
| 829 plugin_event(event_im_displayed_rcvd, gc, name, message, flags, mtime); | 833 plugin_event(event_im_displayed_rcvd, gc, name, message, flags, mtime); |
| 830 g_free(name); | 834 g_free(name); |
