summaryrefslogtreecommitdiff
path: root/indra/newview/llchathistory.h
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2024-05-23 22:06:12 +0300
committerGitHub <noreply@github.com>2024-05-23 22:06:12 +0300
commit591a80765c4438f72795230824d2e549bafc592d (patch)
treed913b4083236bf6e4aa55861b52cb57341f0458c /indra/newview/llchathistory.h
parent58cf9c5c23c10752b26dcac384b51c85f9407ca6 (diff)
parentc38e71411080af9e03646bbe34f766201d942afd (diff)
Merge pull request #1547 from secondlife/lua-nearby-chat
Add support for sending messages to Nearby chat from Lua script
Diffstat (limited to 'indra/newview/llchathistory.h')
-rw-r--r--indra/newview/llchathistory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llchathistory.h b/indra/newview/llchathistory.h
index b8364ff860..8acbea6ed5 100644
--- a/indra/newview/llchathistory.h
+++ b/indra/newview/llchathistory.h
@@ -101,7 +101,7 @@ class LLChatHistory : public LLUICtrl
* Builds a message header.
* @return pointer to LLView header object.
*/
- LLView* getHeader(const LLChat& chat,const LLStyle::Params& style_params, const LLSD& args);
+ LLView* getHeader(const LLChat& chat,const LLStyle::Params& style_params, const LLSD& args, bool is_script = false);
public:
~LLChatHistory();
LLSD getValue() const;
@@ -127,6 +127,7 @@ class LLChatHistory : public LLUICtrl
LLDate mLastMessageTime;
bool mIsLastMessageFromLog;
bool mNotifyAboutUnreadMsg;
+ bool mIsLastFromScript;
//std::string mLastMessageTimeStr;
std::string mMessageHeaderFilename;