diff --git a/external/solanaceae_tox b/external/solanaceae_tox index d91ad4b..dd7eb27 160000 --- a/external/solanaceae_tox +++ b/external/solanaceae_tox @@ -1 +1 @@ -Subproject commit d91ad4bfa922e729b690e68858a5f48468f3b8fa +Subproject commit dd7eb2702f3844085f3cd8495db1e1a087afd724 diff --git a/src/tox_ui_utils.cpp b/src/tox_ui_utils.cpp index 79625ba..3ed55c4 100644 --- a/src/tox_ui_utils.cpp +++ b/src/tox_ui_utils.cpp @@ -142,7 +142,7 @@ void ToxUIUtils::render(void) { ImGui::InputText("password to join with", &password); static Tox_Err_Group_Join err = Tox_Err_Group_Join::TOX_ERR_GROUP_JOIN_OK; - if (ImGui::Button("join")) { + if (ImGui::Button("join/reconnect")) { auto [_, err_r] = _tc.toxGroupJoin( hex2bin(std::string_view{_chat_id, std::size(_chat_id)-1}), self_name, @@ -163,7 +163,7 @@ void ToxUIUtils::render(void) { } if (err != Tox_Err_Group_Join::TOX_ERR_GROUP_JOIN_OK) { ImGui::SameLine(); - ImGui::Text("error joining group (code: %d)", err); + ImGui::Text("error joining group '%s' (%d)", tox_err_group_join_to_string(err), err); } } ImGui::End();