Mercurial > pidgin.yaz
comparison libpurple/protocols/irc/irc.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 | 25161f5ea347 |
comparison
equal
deleted
inserted
replaced
23153:f26f6a854770 | 23154:caa533b62902 |
---|---|
731 args[0] = convo->name; | 731 args[0] = convo->name; |
732 args[1] = tmp; | 732 args[1] = tmp; |
733 | 733 |
734 irc_cmd_privmsg(irc, "msg", NULL, args); | 734 irc_cmd_privmsg(irc, "msg", NULL, args); |
735 | 735 |
736 serv_got_chat_in(gc, id, purple_connection_get_display_name(gc), 0, what, time(NULL)); | 736 serv_got_chat_in(gc, id, purple_connection_get_display_name(gc), flags, what, time(NULL)); |
737 g_free(tmp); | 737 g_free(tmp); |
738 return 0; | 738 return 0; |
739 } | 739 } |
740 | 740 |
741 static guint irc_nick_hash(const char *nick) | 741 static guint irc_nick_hash(const char *nick) |