Supporting voice whisper again

This commit is contained in:
WolverinDEV 2020-11-28 11:09:24 +01:00
parent 23db0edd22
commit 2cc8a42ce7
2 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,6 @@ const std::vector<ErrorType> ts::avariableErrors = {
{0x070A, "serverlibrary_not_initialised" , "server library not initialized" },
{0x070B, "whisper_too_many_targets" , "too many whisper targets" },
{0x070C, "whisper_no_targets" , "no whisper targets found" },
{0x0800, "file_invalid_name" , "invalid file name" },
{0x0801, "file_invalid_permissions" , "invalid file permissions" },
{0x0802, "file_already_exists" , "file already exists" },

View File

@ -257,6 +257,7 @@ namespace ts {
void reset_osp(protocol::OutgoingServerPacket* packet, size_t payload_size) {
packet->next = nullptr;
packet->payload_size = payload_size;
packet->type_and_flags = 0;
packet->generation = 0;
}