diff src/server.c @ 3710:03ba413ca20b

[gaim-migrate @ 3843] notification in chats (deryni) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 16 Oct 2002 13:42:07 +0000
parents 8856bb4b284e
children ddc4bfd2c825
line wrap: on
line diff
--- a/src/server.c	Wed Oct 16 06:30:45 2002 +0000
+++ b/src/server.c	Wed Oct 16 13:42:07 2002 +0000
@@ -969,8 +969,6 @@
 {
 	struct conversation *b;
 
-	plugin_event(event_chat_join, gc, id, name);
-
 	b = (struct conversation *)g_new0(struct conversation, 1);
 	gc->buddy_chats = g_slist_append(gc->buddy_chats, b);
 	chats = g_list_append(chats, b);
@@ -1007,6 +1005,8 @@
 
 	show_new_buddy_chat(b);
 
+	plugin_event(event_chat_join, gc, id, name);
+
 	return b;
 }