Mercurial > pidgin
diff libpurple/protocols/jabber/libxmpp.c @ 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 | b08636a33721 |
children | e3e42a99070e |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/libxmpp.c Sat Jun 02 11:41:18 2007 +0000 +++ b/libpurple/protocols/jabber/libxmpp.c Sat Jun 02 12:05:50 2007 +0000 @@ -43,9 +43,11 @@ { #ifdef HAVE_CYRUS_SASL OPT_PROTO_CHAT_TOPIC | OPT_PROTO_UNIQUE_CHATNAME | - OPT_PROTO_MAIL_CHECK | OPT_PROTO_PASSWORD_OPTIONAL, + OPT_PROTO_MAIL_CHECK | OPT_PROTO_PASSWORD_OPTIONAL | + OPT_PROTO_SLASH_COMMANDS_NATIVE, #else - OPT_PROTO_CHAT_TOPIC | OPT_PROTO_UNIQUE_CHATNAME | OPT_PROTO_MAIL_CHECK, + OPT_PROTO_CHAT_TOPIC | OPT_PROTO_UNIQUE_CHATNAME | OPT_PROTO_MAIL_CHECK | + OPT_PROTO_SLASH_COMMANDS_NATIVE, #endif NULL, /* user_splits */ NULL, /* protocol_options */