diff libpurple/server.c @ 23105:591ef3693345

As discussed on the devel list, purple_serv_got_join_chat_failed() and the "chat-join-failed" signal now accept and pass (respectively) a GHashTable instead of a string. The GHashTable is the same one which was passed to serv_join_chat() originally.
author Evan Schoenberg <evan.s@dreskin.net>
date Wed, 30 Apr 2008 06:29:16 +0000
parents 43233dc1d40b
children ff8ec3d58367
line wrap: on
line diff
--- a/libpurple/server.c	Wed Apr 30 05:56:53 2008 +0000
+++ b/libpurple/server.c	Wed Apr 30 06:29:16 2008 +0000
@@ -967,10 +967,10 @@
 	purple_signal_emit(purple_conversations_get_handle(), "chat-left", conv);
 }
 
-void purple_serv_got_join_chat_failed(PurpleConnection *gc, const char *name)
+void purple_serv_got_join_chat_failed(PurpleConnection *gc, GHashTable *data)
 {
 	purple_signal_emit(purple_conversations_get_handle(), "chat-join-failed",
-					gc, name);
+					gc, data);
 }
 
 void serv_got_chat_in(PurpleConnection *g, int id, const char *who,