changeset 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 3266c00d71a4
children 6593855e1ed9
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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 {