diff src/protocols/jabber/auth.c @ 7147:e9867cdeb0fd

[gaim-migrate @ 7714] better fix for you poor slobs that haven't edited your account in a while committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 04 Oct 2003 21:53:11 +0000
parents db6bd3e794d8
children fae7cfe975fd
line wrap: on
line diff
--- a/src/protocols/jabber/auth.c	Sat Oct 04 21:38:54 2003 +0000
+++ b/src/protocols/jabber/auth.c	Sat Oct 04 21:53:11 2003 +0000
@@ -293,8 +293,8 @@
 		g_string_append_printf(response, ",digest-uri=\"xmpp/%s\"", realm);
 		g_string_append_printf(response, ",response=%s", auth_resp);
 		g_string_append_printf(response, ",charset=utf-8");
-		g_string_append_printf(response, ",authzid=\"%s\"",
-				gaim_account_get_username(js->gc->account));
+		g_string_append_printf(response, ",authzid=\"%s@%s/%s\"",
+				js->user->node, js->user->domain, js->user->resource);
 
 		g_free(auth_resp);
 		g_free(cnonce);