diff src/protocols/jabber/chat.c @ 8537:dc818b62379e

[gaim-migrate @ 9276] jabber fixination committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 31 Mar 2004 18:37:06 +0000
parents c13a4913a071
children 725413cc9fb9
line wrap: on
line diff
--- a/src/protocols/jabber/chat.c	Wed Mar 31 15:51:31 2004 +0000
+++ b/src/protocols/jabber/chat.c	Wed Mar 31 18:37:06 2004 +0000
@@ -572,7 +572,8 @@
 	char *room_jid;
 	xmlnode *presence;
 
-	room_jid = g_strdup_printf("%s@%s", chat->room, chat->server);
+	room_jid = g_strdup_printf("%s@%s/%s", chat->room, chat->server,
+			chat->handle);
 	presence = xmlnode_new("presence");
 	xmlnode_set_attrib(presence, "to", room_jid);
 	xmlnode_set_attrib(presence, "type", "unavailable");