Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.c @ 24155:a61c017d3a99
Set the connection display name to the server-assigned full jid for XMPP
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 02 Oct 2008 01:28:52 +0000 |
parents | 305fac6af8f9 |
children | ff0470db521d 5ace6c024230 3a3d36791a47 e9b7e41dc816 46387cbfaf85 7cda79469830 b0e7b4daf465 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Tue Sep 30 17:05:40 2008 +0000 +++ b/libpurple/protocols/jabber/jabber.c Thu Oct 02 01:28:52 2008 +0000 @@ -131,6 +131,9 @@ } if((my_jb = jabber_buddy_find(js, full_jid, TRUE))) my_jb->subscription |= JABBER_SUB_BOTH; + + purple_connection_set_display_name(js->gc, full_jid); + g_free(full_jid); } } else {