Increase MessageUnsupported version.
This commit is contained in:
parent
35d6145d66
commit
268dd2cf12
@ -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;
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user