comparison libpurple/protocols/gg/gg.c @ 23154:caa533b62902

When calling serv_got_chat_in() after sending a group chat message (to let the core know that it was sent, since unlike sending an IM conversation message it is not immedately written out to the conversation by common_send()), pass back the flags initially sent to the prpl. This maintains the PURPLE_MESSAGE_SEND flag as well as anything else which might be helpful to the UI, such as PURPLE_MESSAGE_IMAGES.
author Evan Schoenberg <evan.s@dreskin.net>
date Wed, 14 May 2008 23:36:37 +0000
parents bb41bdce8981
children e0bcb8cfda74
comparison
equal deleted inserted replaced
23153:f26f6a854770 23154:caa533b62902
1996 g_free(msg); 1996 g_free(msg);
1997 g_free(uins); 1997 g_free(uins);
1998 1998
1999 serv_got_chat_in(gc, id, 1999 serv_got_chat_in(gc, id,
2000 purple_account_get_username(purple_connection_get_account(gc)), 2000 purple_account_get_username(purple_connection_get_account(gc)),
2001 0, message, time(NULL)); 2001 flags, message, time(NULL));
2002 2002
2003 return 0; 2003 return 0;
2004 } 2004 }
2005 /* }}} */ 2005 /* }}} */
2006 2006