Support messageStory as empty objects.
This commit is contained in:
parent
f021889ae4
commit
9466a25da3
1 changed files with 1 additions and 2 deletions
|
|
@ -2305,6 +2305,7 @@ void Client::JsonMessage::store(td::JsonValueScope *scope) const {
|
|||
case td_api::messageChatSetBackground::ID:
|
||||
break;
|
||||
case td_api::messageStory::ID:
|
||||
object("story", JsonEmptyObject());
|
||||
break;
|
||||
default:
|
||||
UNREACHABLE();
|
||||
|
|
@ -11199,8 +11200,6 @@ bool Client::need_skip_update_message(int64 chat_id, const object_ptr<td_api::me
|
|||
return true;
|
||||
case td_api::messageChatSetBackground::ID:
|
||||
return true;
|
||||
case td_api::messageStory::ID:
|
||||
return true;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue