Increase MessageUnsupported version.

This commit is contained in:
levlam 2021-04-06 00:40:31 +03:00
parent 35d6145d66
commit 268dd2cf12
2 changed files with 2 additions and 1 deletions

View File

@ -438,7 +438,7 @@ class MessageChatSetTtl : public MessageContent {
class MessageUnsupported : public MessageContent { class MessageUnsupported : public MessageContent {
public: public:
static constexpr int32 CURRENT_VERSION = 5; static constexpr int32 CURRENT_VERSION = 6;
int32 version = CURRENT_VERSION; int32 version = CURRENT_VERSION;
MessageUnsupported() = default; MessageUnsupported() = default;

View File

@ -13,6 +13,7 @@
namespace td { namespace td {
// increase MessageUnsupported::CURRENT_VERSION each time a new message content type is added
enum class MessageContentType : int32 { enum class MessageContentType : int32 {
None = -1, None = -1,
Text, Text,