summaryrefslogtreecommitdiff
path: root/indra/newview/llavataractions.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2013-03-12 15:38:10 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2013-03-12 15:38:10 +0200
commitd81226f1707a93b6be52264fc00cae9c60057cc5 (patch)
tree2e8ed2ac1679a3d72092a83a69ef0271c52fc781 /indra/newview/llavataractions.cpp
parentcca679e0d66caf0aa49a77a89f821f923d4ead59 (diff)
CHUI-809 FIXED Changes in menu items to make them consistent. Do not start IM if selected person is self.
Diffstat (limited to 'indra/newview/llavataractions.cpp')
-rwxr-xr-xindra/newview/llavataractions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp
index ce063a9887..b513a52ff7 100755
--- a/indra/newview/llavataractions.cpp
+++ b/indra/newview/llavataractions.cpp
@@ -193,7 +193,7 @@ static void on_avatar_name_cache_start_im(const LLUUID& agent_id,
// static
void LLAvatarActions::startIM(const LLUUID& id)
{
- if (id.isNull())
+ if (id.isNull() || gAgent.getID() == id)
return;
LLAvatarNameCache::get(id, boost::bind(&on_avatar_name_cache_start_im, _1, _2));