Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/presence.c @ 29400:7cf5e442bbc8
Document the resource<>conversation binding (and how it works).
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Wed, 10 Feb 2010 04:32:51 +0000 |
parents | d9c97c2b29fd |
children | db0762fbb60b |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c Wed Feb 10 04:01:08 2010 +0000 +++ b/libpurple/protocols/jabber/presence.c Wed Feb 10 04:32:51 2010 +0000 @@ -1005,6 +1005,11 @@ jabber_buddy_remove_resource(jb, jid->resource); if((conv = jabber_find_unnormalized_conv(from, js->gc->account))) + /* + * If a resource went offline (or the buddy unsubscribed), + * send further messages to the bare JID. (This is also + * updated in message.c when receiving a message) + */ purple_conversation_set_name(conv, buddy_name); } else {