Shiny new name cache.
This commit is contained in:
@@ -107,7 +107,7 @@ public:
|
||||
|
||||
// Remove both normal and legacy mutes, for any or all properties.
|
||||
BOOL remove(const LLMute& mute, U32 flags = 0);
|
||||
BOOL autoRemove(const LLUUID& agent_id, const EAutoReason reason, const std::string& first_name = LLStringUtil::null, const std::string& last_name = LLStringUtil::null);
|
||||
BOOL autoRemove(const LLUUID& agent_id, const EAutoReason reason);
|
||||
|
||||
// Name is required to test against legacy text-only mutes.
|
||||
BOOL isMuted(const LLUUID& id, const std::string& name = LLStringUtil::null, U32 flags = 0) const;
|
||||
@@ -153,7 +153,13 @@ private:
|
||||
{
|
||||
bool operator()(const LLMute& a, const LLMute& b) const
|
||||
{
|
||||
return a.mName < b.mName;
|
||||
std::string name1 = a.mName;
|
||||
std::string name2 = b.mName;
|
||||
|
||||
LLStringUtil::toUpper(name1);
|
||||
LLStringUtil::toUpper(name2);
|
||||
|
||||
return name1 < name2;
|
||||
}
|
||||
};
|
||||
struct compare_by_id
|
||||
|
||||
Reference in New Issue
Block a user