Mercurial > pidgin.yaz
diff libpurple/prpl.h @ 18030:62a71bb085ef
Mostly taken from the patch on ticket #410, don't send unknown slash
commands as messages on protocols where slash commands are "native". This
is determined by using a new OPT_PROTO_SLASH_COMMAND_NATIVE protocol
option, so this only goes in the 2.1.0 branch. Fixes #410.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 02 Jun 2007 12:05:50 +0000 |
parents | 8c056932bcc2 |
children | 72906c5ac037 |
line wrap: on
line diff
--- a/libpurple/prpl.h Sat Jun 02 11:41:18 2007 +0000 +++ b/libpurple/prpl.h Sat Jun 02 12:05:50 2007 +0000 @@ -158,6 +158,12 @@ */ OPT_PROTO_REGISTER_NOSCREENNAME = 0x00000200, + /** + * Indicates that slash commands are native to this protocol. + * Used as a hint that unknown commands should not be sent as messages. + */ + OPT_PROTO_SLASH_COMMANDS_NATIVE = 0x00000400, + } PurpleProtocolOptions; /**