finally add copy own id

This commit is contained in:
Green Sky 2024-06-17 15:19:55 +02:00
parent cba3282dce
commit 6d3ef742b5
No known key found for this signature in database

View File

@ -29,6 +29,9 @@ void ToxUIUtils::render(void) {
if (ImGui::MenuItem("add Friend by ID")) {
_show_add_friend_window = true;
}
if (ImGui::MenuItem("copy own ToxID")) {
ImGui::SetClipboardText(_tc.toxSelfGetAddressStr().c_str());
}
if (ImGui::MenuItem("join Group by ID (ngc)")) {
_show_add_group_window = true;
}