summaryrefslogtreecommitdiff
path: root/indra/llmessage/llavatarnamecache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llmessage/llavatarnamecache.cpp')
-rw-r--r--indra/llmessage/llavatarnamecache.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llmessage/llavatarnamecache.cpp b/indra/llmessage/llavatarnamecache.cpp
index 7380df041d..756fb940aa 100644
--- a/indra/llmessage/llavatarnamecache.cpp
+++ b/indra/llmessage/llavatarnamecache.cpp
@@ -549,6 +549,12 @@ void LLAvatarNameCache::idle()
eraseUnrefreshed();
}
+//static
+bool LLAvatarNameCache::hasWork()
+{
+ return sRequestTimer.hasExpired();
+}
+
bool LLAvatarNameCache::isRequestPending(const LLUUID& agent_id)
{
bool isPending = false;