Merge branch 'add-asset-packet' into asset-packet-musiclist

This commit is contained in:
Salanto 2021-05-12 01:56:33 +02:00
commit c056182ba0

View File

@ -705,7 +705,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet)
//AssetURL Packet
else if (header == "ASS") {
if (f_contents.size() > 1) { // This can never be more than one link.
if (f_contents.size() > 1 || f_contents.size() == 0) { // This can never be more than one link.
goto end;
}
QUrl t_asset_url = QUrl::fromPercentEncoding(f_contents.at(0).toUtf8());