Mercurial > pidgin
changeset 28390:fd495ede2f3a
merge of '33ac448c0d0fbe2bd41ad24c9d2e8faa14fafa69'
and '8868b966ec81185b033adaf17af1a06143d2edb1'
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 16 Oct 2009 01:27:25 +0000 |
parents | a020c6abc852 (current diff) 583a2f6ae576 (diff) |
children | b7d60f0e1df2 |
files | |
diffstat | 3 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/ft.h Thu Oct 15 23:48:54 2009 +0000 +++ b/libpurple/ft.h Fri Oct 16 01:27:25 2009 +0000 @@ -674,7 +674,7 @@ void purple_xfer_ui_ready(PurpleXfer *xfer); /** - * Allows the prpl to signal it's readh to send/receive data (depending on + * Allows the prpl to signal it's ready to send/receive data (depending on * the direction of the file transfer. Used when the prpl provides read/write * ops and cannot/does not provide a raw fd to the core. *
--- a/libpurple/protocols/jabber/chat.c Thu Oct 15 23:48:54 2009 +0000 +++ b/libpurple/protocols/jabber/chat.c Fri Oct 16 01:27:25 2009 +0000 @@ -106,7 +106,7 @@ { char *room_jid = g_strdup_printf("%s@%s", room, server); - chat = g_hash_table_lookup(js->chats, jabber_normalize(NULL, room_jid)); + chat = g_hash_table_lookup(js->chats, room_jid); g_free(room_jid); } @@ -373,7 +373,7 @@ JabberStream *js = chat->js; char *room_jid = g_strdup_printf("%s@%s", chat->room, chat->server); - g_hash_table_remove(js->chats, jabber_normalize(NULL, room_jid)); + g_hash_table_remove(js->chats, room_jid); g_free(room_jid); }
--- a/libpurple/protocols/jabber/chat.h Thu Oct 15 23:48:54 2009 +0000 +++ b/libpurple/protocols/jabber/chat.h Fri Oct 16 01:27:25 2009 +0000 @@ -62,6 +62,8 @@ * in-prpl function for joining a chat room. Doesn't require sticking goop * into a hash table. * + * @param room The room to join. This MUST be normalized already. + * @param server The server the room is on. This MUST be normalized already. * @param password The password (if required) to join the room. May be NULL. * @param data The chat hash table. May be NULL (it will be generated * for current core<>prpl API interface.)