Mercurial > pidgin
diff plugins/perl/common/Server.xs @ 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 | aadf61b30056 |
| children | a9ff4499d9ce |
line wrap: on
line diff
--- a/plugins/perl/common/Server.xs Thu Nov 24 20:38:24 2005 +0000 +++ b/plugins/perl/common/Server.xs Thu Nov 24 20:47:46 2005 +0000 @@ -31,10 +31,11 @@ int b int -serv_chat_send(con, a, b) +serv_chat_send(con, a, b, flags) Gaim::Connection con int a const char * b + Gaim::MessageFlags flags void serv_chat_whisper(con, a, b, c) @@ -59,7 +60,7 @@ Gaim::Connection g int id const char *who - Gaim::ConvChatFlags chatflags + Gaim::MessageFlags chatflags const char *message time_t mtime @@ -100,7 +101,7 @@ Gaim::Connection gc const char *who const char *msg - Gaim::ConvImFlags imflags + Gaim::MessageFlags imflags time_t mtime Gaim::Conversation @@ -196,7 +197,7 @@ Gaim::Connection con const char * a const char * b - Gaim::ConvImFlags flags + Gaim::MessageFlags flags int serv_send_typing(con, a, b)
