diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-07-29 15:54:30 +0300 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-07-29 15:54:30 +0300 |
commit | 48ee956a45446cc0aed28b43feb6ee6d873db362 (patch) | |
tree | 3db8e607f23c3c448264c6343a36776a65414564 /indra/newview/llfriendcard.cpp | |
parent | 90353be438268c71300a5dfaac0a5fb79c71551c (diff) | |
parent | 92afbfaf88764e9be75458c5e2b2514e59a0deed (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llfriendcard.cpp')
-rw-r--r-- | indra/newview/llfriendcard.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llfriendcard.cpp b/indra/newview/llfriendcard.cpp index 7f28e09933..2f4dae0af8 100644 --- a/indra/newview/llfriendcard.cpp +++ b/indra/newview/llfriendcard.cpp @@ -299,6 +299,17 @@ void LLFriendCardsManager::collectFriendsLists(folderid_buddies_map_t& folderBud { folderBuddiesMap.clear(); + static bool syncronize_friends_folders = true; + if (syncronize_friends_folders) + { + // Checks whether "Friends" and "Friends/All" folders exist in "Calling Cards" folder, + // fetches their contents if needed and synchronizes it with buddies list. + // If the folders are not found they are created. + LLFriendCardsManager::instance().syncFriendCardsFolders(); + syncronize_friends_folders = false; + } + + LLInventoryModel::cat_array_t* listFolders; LLInventoryModel::item_array_t* items; |