Mercurial > pidgin
comparison src/protocols/jabber/message.c @ 7118:bf630f7dfdcd
[gaim-migrate @ 7685]
Here's a commit that I think will make faceprint happy. GaimWindow ->
GaimConvWindow, GaimIm -> GaimConvIm, GaimChat -> GaimConvChat,
GaimBlistChat -> GaimChat, and updated the API functions as well. Plugin
authors are going to hunt me down and murder me. I can feel it..
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Thu, 02 Oct 2003 02:54:07 +0000 |
| parents | c8bf2da398e3 |
| children | eba5f7be0bc8 |
comparison
equal
deleted
inserted
replaced
| 7117:943085b0ff8b | 7118:bf630f7dfdcd |
|---|---|
| 91 | 91 |
| 92 if(!chat) | 92 if(!chat) |
| 93 return; | 93 return; |
| 94 | 94 |
| 95 if(jm->subject) | 95 if(jm->subject) |
| 96 gaim_chat_set_topic(GAIM_CHAT(chat->conv), jid->resource, jm->subject); | 96 gaim_conv_chat_set_topic(GAIM_CONV_CHAT(chat->conv), jid->resource, jm->subject); |
| 97 | 97 |
| 98 serv_got_chat_in(jm->js->gc, chat->id, jabber_get_resource(jm->from), | 98 serv_got_chat_in(jm->js->gc, chat->id, jabber_get_resource(jm->from), |
| 99 0, jm->xhtml ? jm->xhtml : jm->body, jm->sent); | 99 0, jm->xhtml ? jm->xhtml : jm->body, jm->sent); |
| 100 jabber_id_free(jid); | 100 jabber_id_free(jid); |
| 101 } | 101 } |
| 324 | 324 |
| 325 xmlnode_free(message); | 325 xmlnode_free(message); |
| 326 } | 326 } |
| 327 | 327 |
| 328 int jabber_message_send_im(GaimConnection *gc, const char *who, const char *msg, | 328 int jabber_message_send_im(GaimConnection *gc, const char *who, const char *msg, |
| 329 GaimImFlags flags) | 329 GaimConvImFlags flags) |
| 330 { | 330 { |
| 331 JabberMessage *jm; | 331 JabberMessage *jm; |
| 332 JabberBuddy *jb; | 332 JabberBuddy *jb; |
| 333 JabberBuddyResource *jbr; | 333 JabberBuddyResource *jbr; |
| 334 char *buf; | 334 char *buf; |
