Add Invite to Group to friends list right-click menu for online friends

This commit is contained in:
Kelsi 2026-03-12 00:02:20 -07:00
parent 00a66b7114
commit c170216e1c

View file

@ -7461,6 +7461,9 @@ void GameScreen::renderGuildRoster(game::GameHandler& gameHandler) {
whisperTargetBuffer[sizeof(whisperTargetBuffer) - 1] = '\0';
refocusChatInput = true;
}
if (c.isOnline() && ImGui::MenuItem("Invite to Group") && !c.name.empty()) {
gameHandler.inviteToGroup(c.name);
}
if (ImGui::MenuItem("Edit Note")) {
friendNoteTarget = c.name;
strncpy(friendNoteBuf, c.note.c_str(), sizeof(friendNoteBuf) - 1);