summaryrefslogtreecommitdiff
path: root/indra/newview/llchatitemscontainerctrl.h
diff options
context:
space:
mode:
authorIgor Borovkov <iborovkov@productengine.com>2010-02-25 17:40:40 +0200
committerIgor Borovkov <iborovkov@productengine.com>2010-02-25 17:40:40 +0200
commit55f1a96dbf59b0bf1d0d87f358392f31b24741bf (patch)
tree2d10fd3405115258800d98fa5254f07b2d90d9ad /indra/newview/llchatitemscontainerctrl.h
parentbf25f3fd00c836a1ac3e6d160aa3d97634da084f (diff)
fixed EXT-5731 Viewer 2: New chat format doesn't recognise scripted object name changes
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llchatitemscontainerctrl.h')
-rw-r--r--indra/newview/llchatitemscontainerctrl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llchatitemscontainerctrl.h b/indra/newview/llchatitemscontainerctrl.h
index 4d730573d9..b28c9dbc4b 100644
--- a/indra/newview/llchatitemscontainerctrl.h
+++ b/indra/newview/llchatitemscontainerctrl.h
@@ -60,6 +60,7 @@ public:
static LLNearbyChatToastPanel* createInstance();
const LLUUID& getFromID() const { return mFromID;}
+ const std::string& getFromName() const { return mFromName; }
//void addText (const std::string& message , const LLStyle::Params& input_params = LLStyle::Params());
//void setMessage (const LLChat& msg);
@@ -84,9 +85,11 @@ public:
virtual void draw();
+ //*TODO REMOVE, why a dup of getFromID?
const LLUUID& messageID() const { return mFromID;}
private:
LLUUID mFromID; // agent id or object id
+ std::string mFromName;
EChatSourceType mSourceType;