Skip to content

Commit afcec7b

Browse files
committed
Expect messageActionChangeCommunity for business accounts.
1 parent deb31c4 commit afcec7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

td/telegram/MessageContent.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10281,7 +10281,6 @@ unique_ptr<MessageContent> get_action_message_content(Td *td, tl_object_ptr<tele
1028110281
case telegram_api::messageActionSuggestedPostRefund::ID:
1028210282
case telegram_api::messageActionNewCreatorPending::ID:
1028310283
case telegram_api::messageActionChangeCreator::ID:
10284-
case telegram_api::messageActionChangeCommunity::ID:
1028510284
LOG(ERROR) << "Receive business " << to_string(action_ptr);
1028610285
break;
1028710286
case telegram_api::messageActionHistoryClear::ID:
@@ -10318,6 +10317,7 @@ unique_ptr<MessageContent> get_action_message_content(Td *td, tl_object_ptr<tele
1031810317
case telegram_api::messageActionNoForwardsRequest::ID:
1031910318
case telegram_api::messageActionPollAppendAnswer::ID:
1032010319
case telegram_api::messageActionPollDeleteAnswer::ID:
10320+
case telegram_api::messageActionChangeCommunity::ID:
1032110321
// ok
1032210322
break;
1032310323
case telegram_api::messageActionBotAllowed::ID:

0 commit comments

Comments
 (0)