comparison src/protocols/irc/msgs.c @ 12216:4d3119205a33

[gaim-migrate @ 14518] Remove GaimConvImFlags and GaimConvChatFlags - use GaimMessageFlags everywhere instead. Add a new GAIM_MESSAGE_IMAGES flag, and set it when sending a message containing images. When sending a message, the core will now always send "html" to the prpls, just like it expects to receive html from the prpls for received messages. This will allow text prpls such as SILC to support IM images and differentiate them from user input. Previously gaim_unescape_html() was used before passing the message to the prpl, now the prpl does this itself if it needs it. I think I updated all the prpls correctly, but I'm not so sure about sametime. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 24 Nov 2005 20:47:46 +0000
parents 1019f1d510d6
children f9401180115a
comparison
equal deleted inserted replaced
12215:31b91bfab029 12216:4d3119205a33
88 } 88 }
89 89
90 gc = gaim_account_get_connection(irc->account); 90 gc = gaim_account_get_connection(irc->account);
91 if (gc) { 91 if (gc) {
92 msg = g_markup_escape_text(args[2], -1); 92 msg = g_markup_escape_text(args[2], -1);
93 serv_got_im(gc, args[1], msg, GAIM_CONV_IM_AUTO_RESP, time(NULL)); 93 serv_got_im(gc, args[1], msg, GAIM_MESSAGE_AUTO_RESP, time(NULL));
94 g_free(msg); 94 g_free(msg);
95 } 95 }
96 } 96 }
97 97
98 void irc_msg_badmode(struct irc_conn *irc, const char *name, const char *from, char **args) 98 void irc_msg_badmode(struct irc_conn *irc, const char *name, const char *from, char **args)