Updated the unsupported message

This commit is contained in:
WolverinDEV 2021-05-23 13:41:57 +02:00
parent fefe550805
commit 053eb1a64e
2 changed files with 1 additions and 12 deletions

View File

@ -139,17 +139,6 @@ command_result ConnectedClient::handleCommandGroupAdd(Command &cmd, GroupTarget
}
group->permissions()->set_permission(permission::b_group_is_permanent, {1, 0}, permission::v2::set_value, permission::v2::do_nothing);
if (this->server) {
switch(group_target) {
case GroupTarget::GROUPTARGET_SERVER:
this->server->enqueue_notify_server_group_list();
break;
case GroupTarget::GROUPTARGET_CHANNEL:
this->server->enqueue_notify_channel_group_list();
break;
}
}
std::deque<std::shared_ptr<VirtualServer>> server_updates{};
switch(group_type) {

View File

@ -371,7 +371,7 @@ void LicenseService::handle_message_license_info(const void *buffer, size_t buff
if(response.has_deprecate_third_party_clients() && response.deprecate_third_party_clients()) {
config::server::clients::extra_welcome_message_type_teamspeak = config::server::clients::WELCOME_MESSAGE_TYPE_CHAT;
config::server::clients::extra_welcome_message_teamspeak = strobf("\n[b][color=red]There is no support for your client.[/color]\nPlease download the newest TeaSpeak - Client at [url=https://teaspeak.de/?ref=unsupported-client]https://teaspeak.de/[/url].[/b]\n\nNew client features:\n- Video and Screen sharing\n- Enchanted chat system (Cross channel, emojies, images etc)\n- Video watch2gather\n- And a lot more!").string();
config::server::clients::extra_welcome_message_teamspeak = strobf("\n[b][color=red]Your client version is not supported![/color]\nPlease download the newest TeaSpeak - Client at [url=https://teaspeak.de/?ref=unsupported-client]https://teaspeak.de/[/url].[/b]\n\nNew client features:\n- Video and Screen sharing\n- Enchanted chat system (Cross channel, emojies, images etc)\n- Video watch2gather\n- And a lot more!").string();
}
this->send_property_update_request();