Fix constant type.

GitOrigin-RevId: 43068e874c4b0639657716acc20a4b444c2c4e73
This commit is contained in:
levlam 2019-03-25 20:40:28 +03:00
parent fd7c17ae43
commit 54aaea0e13

View File

@ -709,11 +709,11 @@ class ContactsManager : public Actor {
class ChannelLogEvent; class ChannelLogEvent;
class SecretChatLogEvent; class SecretChatLogEvent;
static constexpr int32 MAX_GET_PROFILE_PHOTOS = 100; // server side limit static constexpr int32 MAX_GET_PROFILE_PHOTOS = 100; // server side limit
static constexpr size_t MAX_NAME_LENGTH = 64; // server side limit for first/last name static constexpr size_t MAX_NAME_LENGTH = 64; // server side limit for first/last name
static constexpr size_t MAX_DESCRIPTION_LENGTH = 255; // server side limit for channel description static constexpr size_t MAX_DESCRIPTION_LENGTH = 255; // server side limit for channel description
static constexpr size_t MAX_BIO_LENGTH = 70; // server side limit static constexpr size_t MAX_BIO_LENGTH = 70; // server side limit
static constexpr size_t MAX_GET_CHANNEL_PARTICIPANTS = 200; // server side limit static constexpr int32 MAX_GET_CHANNEL_PARTICIPANTS = 200; // server side limit
static constexpr int32 USER_FLAG_HAS_ACCESS_HASH = 1 << 0; static constexpr int32 USER_FLAG_HAS_ACCESS_HASH = 1 << 0;
static constexpr int32 USER_FLAG_HAS_FIRST_NAME = 1 << 1; static constexpr int32 USER_FLAG_HAS_FIRST_NAME = 1 << 1;