Mercurial > pidgin
comparison src/protocols/jabber/presence.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 | be4ca65b3b48 |
comparison
equal
deleted
inserted
replaced
7117:943085b0ff8b | 7118:bf630f7dfdcd |
---|---|
269 if(type && !strcasecmp(type, "unavailable")) { | 269 if(type && !strcasecmp(type, "unavailable")) { |
270 if(!strcmp(jid->resource, chat->nick)) { | 270 if(!strcmp(jid->resource, chat->nick)) { |
271 serv_got_chat_left(js->gc, chat->id); | 271 serv_got_chat_left(js->gc, chat->id); |
272 jabber_chat_destroy(chat); | 272 jabber_chat_destroy(chat); |
273 } else { | 273 } else { |
274 gaim_chat_remove_user(GAIM_CHAT(chat->conv), jid->resource, | 274 gaim_conv_chat_remove_user(GAIM_CONV_CHAT(chat->conv), jid->resource, |
275 NULL); | 275 NULL); |
276 } | 276 } |
277 } else { | 277 } else { |
278 if(!jabber_chat_find_buddy(chat->conv, jid->resource)) | 278 if(!jabber_chat_find_buddy(chat->conv, jid->resource)) |
279 gaim_chat_add_user(GAIM_CHAT(chat->conv), jid->resource, | 279 gaim_conv_chat_add_user(GAIM_CONV_CHAT(chat->conv), jid->resource, |
280 NULL); | 280 NULL); |
281 } | 281 } |
282 g_free(room_jid); | 282 g_free(room_jid); |
283 } else { | 283 } else { |
284 if(!(jb->subscription & JABBER_SUB_TO)) { | 284 if(!(jb->subscription & JABBER_SUB_TO)) { |