comparison 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
comparison
equal deleted inserted replaced
3709:03e58c078917 3710:03ba413ca20b
967 967
968 struct conversation *serv_got_joined_chat(struct gaim_connection *gc, int id, char *name) 968 struct conversation *serv_got_joined_chat(struct gaim_connection *gc, int id, char *name)
969 { 969 {
970 struct conversation *b; 970 struct conversation *b;
971 971
972 plugin_event(event_chat_join, gc, id, name);
973
974 b = (struct conversation *)g_new0(struct conversation, 1); 972 b = (struct conversation *)g_new0(struct conversation, 1);
975 gc->buddy_chats = g_slist_append(gc->buddy_chats, b); 973 gc->buddy_chats = g_slist_append(gc->buddy_chats, b);
976 chats = g_list_append(chats, b); 974 chats = g_list_append(chats, b);
977 975
978 b->is_chat = TRUE; 976 b->is_chat = TRUE;
1005 free(filename); 1003 free(filename);
1006 } 1004 }
1007 1005
1008 show_new_buddy_chat(b); 1006 show_new_buddy_chat(b);
1009 1007
1008 plugin_event(event_chat_join, gc, id, name);
1009
1010 return b; 1010 return b;
1011 } 1011 }
1012 1012
1013 void serv_got_chat_left(struct gaim_connection *g, int id) 1013 void serv_got_chat_left(struct gaim_connection *g, int id)
1014 { 1014 {