changeset 8297:a6e8ef48c7a4

[gaim-migrate @ 9021] fix my idiot mistake until I code the correct solution committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 20 Feb 2004 05:11:55 +0000
parents dd6fe7d965aa
children c719f9a181d4
files src/protocols/jabber/presence.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/presence.c	Thu Feb 19 14:57:41 2004 +0000
+++ b/src/protocols/jabber/presence.c	Fri Feb 20 05:11:55 2004 +0000
@@ -40,12 +40,10 @@
 	JabberChat *chat = val;
 	xmlnode *presence = user_data;
 	const char *chat_bare_jid = key;
-	char *chat_full_jid = g_strdup_printf("%s/%s", chat_bare_jid,
-			gaim_conv_chat_get_nick(GAIM_CONV_CHAT(chat->conv)));
 
-	xmlnode_set_attrib(presence, "to", chat_full_jid);
+	/* XXX: FIXME! */
+	xmlnode_set_attrib(presence, "to", chat_bare_jid);
 	jabber_send(chat->js, presence);
-	g_free(chat_full_jid);
 }
 
 void jabber_presence_fake_to_self(JabberStream *js, const char *away_state, const char *msg) {