diff options
author | Mike Antipov <mantipov@productengine.com> | 2009-11-04 16:02:12 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2009-11-04 16:02:12 +0200 |
commit | 14af8485fd3759cda8b5471b0f6171b832d3e1b4 (patch) | |
tree | 62edba6caabc5ba89299d3e191acc564d363cf5d /indra/newview/llfriendcard.h | |
parent | 380bb0ce09913ae05000c86fb0a0ed410ead1089 (diff) |
Fixed normal bug EXT-2061 ("All" list doesn't contain any friends while "Online" list isn't empty in "Friends" tab on People Panel)
- added code to force fetching of Inventory "Friends/All" folder in case it is incomplete on startup.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llfriendcard.h')
-rw-r--r-- | indra/newview/llfriendcard.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/indra/newview/llfriendcard.h b/indra/newview/llfriendcard.h index 6ada342831..feea05bc1d 100644 --- a/indra/newview/llfriendcard.h +++ b/indra/newview/llfriendcard.h @@ -89,8 +89,10 @@ public: /** * Synchronizes content of the Calling Card/Friends/All Global Inventory folder with Agent's Friend List + * + * @return true - if folder is already synchronized, false otherwise. */ - void syncFriendsFolder(); + bool syncFriendsFolder(); /*! * \brief @@ -144,11 +146,20 @@ private: void onFriendListUpdate(U32 changed_mask); + /** + * Force fetching of the Inventory folder specified by passed folder's LLUUID. + * + * It only sends request to server, server reply should be processed in other place. + * Because request can be sent via UDP we need to periodically check if request was completed with success. + */ + void forceFriendListIsLoaded(const LLUUID& folder_id) const; + private: typedef std::set<LLUUID> avatar_uuid_set_t; avatar_uuid_set_t mBuddyIDSet; + bool mFriendsAllFolderCompleted; }; #endif // LL_LLFRIENDCARD_H |