Links for teleport offers, show autoresponded with item to muted in local,
autounmute notification (so you can remute easily :P).

Cleanup redundant strings
This commit is contained in:
Liru Færs
2019-11-03 12:39:48 -05:00
parent 6048019926
commit d189aadd12
10 changed files with 29 additions and 53 deletions

View File

@@ -33,6 +33,7 @@
#include "llviewerprecompiledheaders.h"
#include "llstylemap.h"
#include "llavataractions.h"
LLStyleMap::LLStyleMap()
{
@@ -59,8 +60,7 @@ const LLStyleSP &LLStyleMap::lookupAgent(const LLUUID &source)
if (source.notNull())
{
style->setColor(gSavedSettings.getColor4("HTMLAgentColor"));
std::string link = llformat("secondlife:///app/agent/%s/about",source.asString().c_str());
style->setLinkHREF(link);
style->setLinkHREF(LLAvatarActions::getSLURL(source));
}
(*this)[source] = style;
}