summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2013-05-30 20:07:09 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2013-05-30 20:07:09 +0300
commit168f4d8de0bf4f6a211366d5183a777b577b5cfe (patch)
tree641c268dc177f9e68b9a2ac97292b4461fe65f90
parent705d85fb2f0856fdc19fd5f71f4dea33951db015 (diff)
CHUI-971 FIXED Unnecessary checking was removed.
-rwxr-xr-xindra/newview/llfloaterimnearbychat.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llfloaterimnearbychat.cpp b/indra/newview/llfloaterimnearbychat.cpp
index 7e472466ed..d3351fac2e 100755
--- a/indra/newview/llfloaterimnearbychat.cpp
+++ b/indra/newview/llfloaterimnearbychat.cpp
@@ -639,10 +639,7 @@ void LLFloaterIMNearbyChat::addMessage(const LLChat& chat,bool archive,const LLS
void LLFloaterIMNearbyChat::onChatBoxCommit()
{
- if (mInputEditor->getText().length() > 0)
- {
- sendChat(CHAT_TYPE_NORMAL);
- }
+ sendChat(CHAT_TYPE_NORMAL);
gAgent.stopTyping();
}