Skip to content

Feat/system message wechaty#191

Merged
huan merged 2 commits intowechaty:mainfrom
juzibot:feat/system-message-wechaty
Jun 27, 2023
Merged

Feat/system message wechaty#191
huan merged 2 commits intowechaty:mainfrom
juzibot:feat/system-message-wechaty

Conversation

@hcfw007
Copy link
Member

@hcfw007 hcfw007 commented Apr 26, 2023

Copy link
Member

@huan huan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PLEASE KEEP THE ORIGINAL NUMBER OR OUR ECOSYSTEM WILL BE BROKEN.

MESSAGE_TYPE_CHAT_HISTORY = 8;
MESSAGE_TYPE_LOCATION = 9;
MESSAGE_TYPE_MINI_PROGRAM = 10;
MESSAGE_TYPE_CHAT_HISTORY = 4;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OOPS! NEVER CHANGE THE ENUM NUMBER IN A PROTO FILE!

THIS WILL BREAK ALL PREVIOUS VERSION COMPATIBILITIES!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. I was trying to make the message type enum in grpc match with the one in wechaty-puppet. I did not notice the diffrence in order.

@hcfw007 hcfw007 force-pushed the feat/system-message-wechaty branch from aaf16b9 to 0bb5853 Compare June 25, 2023 02:59
Copy link
Member

@huan huan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@huan huan merged commit 7529560 into wechaty:main Jun 27, 2023
@huan huan deleted the feat/system-message-wechaty branch June 27, 2023 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants