summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2012-10-16 13:55:46 -0700
committerGilbert Gonzales <gilbert@lindenlab.com>2012-10-16 13:55:46 -0700
commitf55d07114b560b277ebf9f644a85c03114170295 (patch)
treea58eeddb9779aeb4bc83b257cbb01871950477f2 /indra/newview
parentae093e02a126666c9137d9eb6d9aeea0c1c73a8a (diff)
parent5a22949cf509ebd1a3c7dfbd029b4bc188fee4a3 (diff)
merging in latest changes
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llconversationmodel.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llconversationmodel.cpp b/indra/newview/llconversationmodel.cpp
index 29e7ac4e12..e5232d730c 100644
--- a/indra/newview/llconversationmodel.cpp
+++ b/indra/newview/llconversationmodel.cpp
@@ -27,6 +27,7 @@
#include "llviewerprecompiledheaders.h"
+#include "llagent.h"
#include "llavatarnamecache.h"
#include "llavataractions.h"
#include "llevents.h"
@@ -374,7 +375,10 @@ void LLConversationItemParticipant::buildContextMenu(LLMenuGL& menu, U32 flags)
menuentry_vec_t items;
menuentry_vec_t disabled_items;
- buildParticipantMenuOptions(items);
+ if(gAgent.getID() != mUUID)
+ {
+ buildParticipantMenuOptions(items);
+ }
hide_context_entries(menu, items, disabled_items);
}