mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-03 20:03:50 +00:00
fix: group invite popup never showing (hasPendingGroupInvite stale getter)
hasPendingGroupInvite() and getPendingInviterName() were inline getters reading GameHandler's stale copies. SocialHandler owns the canonical pendingGroupInvite/pendingInviterName state. Players were auto-added to groups without seeing the accept/decline popup. Now delegates to socialHandler_.
This commit is contained in:
parent
1af1c66b04
commit
6edcad421b
2 changed files with 10 additions and 2 deletions
|
|
@ -1253,8 +1253,8 @@ public:
|
|||
bool isInGroup() const { return !partyData.isEmpty(); }
|
||||
const GroupListData& getPartyData() const { return partyData; }
|
||||
const std::vector<ContactEntry>& getContacts() const { return contacts_; }
|
||||
bool hasPendingGroupInvite() const { return pendingGroupInvite; }
|
||||
const std::string& getPendingInviterName() const { return pendingInviterName; }
|
||||
bool hasPendingGroupInvite() const;
|
||||
const std::string& getPendingInviterName() const;
|
||||
|
||||
// ---- Item text (books / readable items) ----
|
||||
bool isItemTextOpen() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue