diff options
| author | Jonathan "Geenz" Goodman <geenz@geenzo.com> | 2025-03-13 00:12:58 -0400 |
|---|---|---|
| committer | Jonathan "Geenz" Goodman <geenz@geenzo.com> | 2025-03-13 00:12:58 -0400 |
| commit | 418aec4dd28f4e0a373232cc86324a35ffc4345f (patch) | |
| tree | d21de1a4974c81998552d597db8917f9b88d8633 /indra/newview/llcallingcard.h | |
| parent | 0ad55a33a06c9d1878199ff1ce3e253a65832dd3 (diff) | |
Quick fix for a friend status race condition on login.
Diffstat (limited to 'indra/newview/llcallingcard.h')
| -rw-r--r-- | indra/newview/llcallingcard.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llcallingcard.h b/indra/newview/llcallingcard.h index 48b93fdf9d..f45adfbfec 100644 --- a/indra/newview/llcallingcard.h +++ b/indra/newview/llcallingcard.h @@ -109,6 +109,7 @@ public: // add or remove agents from buddy list. Each method takes a set // of buddies and returns how many were actually added or removed. typedef std::map<LLUUID, LLRelationship*> buddy_map_t; + typedef std::queue<std::pair<LLUUID, bool>> buddy_status_queue_t; S32 addBuddyList(const buddy_map_t& buddies); //S32 removeBuddyList(const buddy_list_t& exes); @@ -194,6 +195,7 @@ protected: //LLInventoryObserver* mInventoryObserver; buddy_map_t mBuddyInfo; + buddy_status_queue_t mBuddyStatusQueue; typedef std::set<LLUUID> changed_buddy_t; changed_buddy_t mChangedBuddyIDs; |
