Fixed normal bug EXT-6353 (SLapp chat cannot chat spaces).

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/119/

--HG--
branch : product-engine
meow-7.2.2
Eugene Mutavchi 2010-03-26 20:22:52 +02:00
parent b7d0bb9e1e
commit aebfa2f6f3
1 changed files with 5 additions and 2 deletions

View File

@ -807,8 +807,11 @@ public:
{
if (tokens.size() < 2) return false;
S32 channel = tokens[0].asInteger();
std::string mesg = tokens[1].asString();
send_chat_from_viewer(mesg, CHAT_TYPE_NORMAL, channel);
// Send unescaped message, see EXT-6353.
std::string unescaped_mesg (LLURI::unescape(tokens[1].asString()));
send_chat_from_viewer(unescaped_mesg, CHAT_TYPE_NORMAL, channel);
return true;
}
};