Add bool LLMuteList::isLinden(const LLUUID& id) for use in situations where the available name may be just display name, but there is a UUID available instead.

This commit is contained in:
Lirusaito
2013-02-12 20:43:10 -05:00
parent f95830fe23
commit 43bb5d6e39
4 changed files with 10 additions and 2 deletions

View File

@@ -280,6 +280,13 @@ LLMuteList::~LLMuteList()
}
}
bool LLMuteList::isLinden(const LLUUID& id) const
{
std::string name;
gCacheName->getFullName(id, name);
return isLinden(name);
}
BOOL LLMuteList::isLinden(const std::string& name) const
{
typedef boost::tokenizer<boost::char_separator<char> > tokenizer;