mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
tuned 2000 chars limit to only chat lobby traffic
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6745 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4ee7d8bb7e
commit
6052f2042f
@ -1079,7 +1079,7 @@ void p3ChatService::handleRecvChatAvatarItem(RsChatAvatarItem *ca)
|
||||
bool p3ChatService::checkForMessageSecurity(RsChatMsgItem *ci)
|
||||
{
|
||||
// Remove too big messages
|
||||
if (ci->message.length() > 2000)
|
||||
if (ci->message.length() > 2000 && ci->chatFlags & RS_CHAT_FLAG_LOBBY)
|
||||
{
|
||||
wchar_t tmp[300];
|
||||
mbstowcs(tmp, rsPeers->getPeerName(ci->PeerId()).c_str(), 299);
|
||||
|
Loading…
Reference in New Issue
Block a user