# HG changeset patch # User Nathan Walp # Date 1077253915 0 # Node ID a6e8ef48c7a476b87c1df9a596c7cc0e4bb5fbc1 # Parent dd6fe7d965aad3c04eec652c4ffdfc8a7a811266 [gaim-migrate @ 9021] fix my idiot mistake until I code the correct solution committer: Tailor Script diff -r dd6fe7d965aa -r a6e8ef48c7a4 src/protocols/jabber/presence.c --- 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) {