changeset 7968:64e94b6823c3

[gaim-migrate @ 8645] ok, jabber chat invites don't suck now committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 01 Jan 2004 06:38:55 +0000
parents 970d252687df
children 69c511278aef
files src/protocols/jabber/message.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/message.c	Thu Jan 01 00:45:35 2004 +0000
+++ b/src/protocols/jabber/message.c	Thu Jan 01 06:38:55 2004 +0000
@@ -316,7 +316,7 @@
 				xmlnode *invite = xmlnode_get_child(child, "invite");
 				if(invite) {
 					xmlnode *reason, *password;
-					const char *jid = xmlnode_get_attrib(child, "from");
+					const char *jid = xmlnode_get_attrib(invite, "from");
 					g_free(jm->to);
 					jm->to = jm->from;
 					jm->from = g_strdup(jid);