Mercurial > pidgin
diff libpurple/protocols/silc/chat.c @ 23152: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 | 29235834c692 |
children | 16734635febf cc1e35fa774d |
line wrap: on
line diff
--- a/libpurple/protocols/silc/chat.c Tue May 13 06:04:27 2008 +0000 +++ b/libpurple/protocols/silc/chat.c Wed May 14 23:36:37 2008 +0000 @@ -1315,7 +1315,7 @@ g_free(tmp); if (ret) - serv_got_chat_in(gc, id, purple_connection_get_display_name(gc), 0, msg, time(NULL)); + serv_got_chat_in(gc, id, purple_connection_get_display_name(gc), msgflags, msg, time(NULL)); return ret; } } @@ -1326,7 +1326,7 @@ (unsigned char *)msg2, strlen(msg2)); if (ret) { - serv_got_chat_in(gc, id, purple_connection_get_display_name(gc), 0, msg, + serv_got_chat_in(gc, id, purple_connection_get_display_name(gc), msgflags, msg, time(NULL)); } g_free(tmp);