From 76dd17168a6ec7f588a862b9575995687cd49b0f Mon Sep 17 00:00:00 2001 From: James Cook Date: Mon, 28 Sep 2009 23:11:18 +0000 Subject: DEV-40528 Viewer 2 floods server with AvatarPropertiesRequest messages causing database load. Icon cache was only being used to provide images more quickly, not to suppress network traffic. Made it suppress network traffic, which may result in stale icons occasionally. Converted online/offline tooltip to use LLAvatarTracker. Will port to viewer-2-qa-1. Reviewed with Richard. --- indra/newview/llcallingcard.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indra/newview/llcallingcard.h') diff --git a/indra/newview/llcallingcard.h b/indra/newview/llcallingcard.h index 113f16de70..228239b5ba 100644 --- a/indra/newview/llcallingcard.h +++ b/indra/newview/llcallingcard.h @@ -125,6 +125,9 @@ public: // get full info const LLRelationship* getBuddyInfo(const LLUUID& id) const; + // Is this person a friend/buddy/calling card holder? + bool isBuddy(const LLUUID& id) const; + // online status void setBuddyOnline(const LLUUID& id, bool is_online); bool isBuddyOnline(const LLUUID& id) const; -- cgit v1.2.3