mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Add Invite to Group to chat message right-click menu
Allows inviting players directly from chat messages, consistent with the target frame and party frame context menus.
This commit is contained in:
parent
72e07fbe3f
commit
2cd4672912
1 changed files with 3 additions and 0 deletions
|
|
@ -1450,6 +1450,9 @@ void GameScreen::renderChatWindow(game::GameHandler& gameHandler) {
|
|||
whisperTargetBuffer[sizeof(whisperTargetBuffer) - 1] = '\0';
|
||||
refocusChatInput = true;
|
||||
}
|
||||
if (ImGui::MenuItem("Invite to Group")) {
|
||||
gameHandler.inviteToGroup(resolvedSenderName);
|
||||
}
|
||||
if (ImGui::MenuItem("Add Friend")) {
|
||||
gameHandler.addFriend(resolvedSenderName);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue