Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/presence.c @ 29402:db0762fbb60b
jabber: Document jabber_find_unnormalized_im_conv (and my guess as to why
it exists instead of using purple_find_conversation_with_account).
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Wed, 10 Feb 2010 05:06:36 +0000 |
parents | 7cf5e442bbc8 |
children | a363b5aff793 |
comparison
equal
deleted
inserted
replaced
29401:4fb74d76c2df | 29402:db0762fbb60b |
---|---|
1002 (type && (g_str_equal(type, "unavailable") || | 1002 (type && (g_str_equal(type, "unavailable") || |
1003 g_str_equal(type, "unsubscribed")))) { | 1003 g_str_equal(type, "unsubscribed")))) { |
1004 PurpleConversation *conv; | 1004 PurpleConversation *conv; |
1005 | 1005 |
1006 jabber_buddy_remove_resource(jb, jid->resource); | 1006 jabber_buddy_remove_resource(jb, jid->resource); |
1007 if((conv = jabber_find_unnormalized_conv(from, js->gc->account))) | 1007 if((conv = jabber_find_unnormalized_im_conv(from, js->gc->account))) |
1008 /* | 1008 /* |
1009 * If a resource went offline (or the buddy unsubscribed), | 1009 * If a resource went offline (or the buddy unsubscribed), |
1010 * send further messages to the bare JID. (This is also | 1010 * send further messages to the bare JID. (This is also |
1011 * updated in message.c when receiving a message) | 1011 * updated in message.c when receiving a message) |
1012 */ | 1012 */ |