Fixed some basic stuff

This commit is contained in:
WolverinDEV
2020-07-23 20:28:43 +02:00
parent 94453894e9
commit 9f24a71aed
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ namespace ts::server::file {
}
namespace transfer {
typedef uint32_t transfer_id;
typedef uint16_t transfer_id;
struct Transfer {
transfer_id server_transfer_id{0};
+2 -2
View File
@@ -2533,7 +2533,7 @@ command_result ConnectedClient::handleCommandConversationHistory(ts::Command &co
auto conversation_id = command[0]["cid"].as<ChannelId>();
/* test if we have access to the conversation */
{
if(conversation_id > 0) {
/* test if we're able to see the channel */
{
shared_lock channel_view_lock(this->channel_lock);
@@ -2650,7 +2650,7 @@ command_result ConnectedClient::handleCommandConversationFetch(ts::Command &cmd)
result_bulk["cid"] = conversation_id;
/* test if we have access to the conversation */
{
if(conversation_id > 0) {
/* test if we're able to see the channel */
{
shared_lock channel_view_lock(this->channel_lock);
+1 -1
Submodule shared updated: 7a3854843f...a4d7c90945