Fix Beware's issue with SinguReplaceLinks being partially broken recently
This commit is contained in:
@@ -225,12 +225,13 @@ void add_timestamped_line(LLViewerTextEditor* edit, LLChat chat, const LLColor4&
|
||||
style->setColor(color);
|
||||
style->mItalic = is_irc;
|
||||
style->mBold = chat.mChatType == CHAT_TYPE_SHOUT;
|
||||
edit->appendText(line, false, prepend_newline, style, false);
|
||||
edit->appendText(line, false, prepend_newline, style, chat.mSourceType == CHAT_SOURCE_SYSTEM);
|
||||
}
|
||||
|
||||
void LLFloaterChat::addChatHistory(const std::string& str, bool log_to_file)
|
||||
{
|
||||
LLChat chat(str);
|
||||
chat.mSourceType = CHAT_SOURCE_SYSTEM;
|
||||
addChatHistory(chat, log_to_file);
|
||||
}
|
||||
|
||||
@@ -344,6 +345,7 @@ void LLFloaterChat::onClickToggleShowMute(bool show_mute, LLTextEditor* history_
|
||||
void LLFloaterChat::addChat(const std::string& str, BOOL from_im, BOOL local_agent)
|
||||
{
|
||||
LLChat chat(str);
|
||||
chat.mSourceType = CHAT_SOURCE_SYSTEM;
|
||||
addChat(chat, from_im, local_agent);
|
||||
}
|
||||
|
||||
|
||||
@@ -1419,6 +1419,8 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD&
|
||||
return false;
|
||||
}
|
||||
|
||||
chat.mSourceType = CHAT_SOURCE_SYSTEM; // There's a slim potential of a user-editable field being a url here?
|
||||
|
||||
LLViewerInventoryCategory* catp = NULL;
|
||||
catp = gInventory.getCategory(mObjectID);
|
||||
LLViewerInventoryItem* itemp = NULL;
|
||||
|
||||
Reference in New Issue
Block a user