Create chats for received story identifiers.
This commit is contained in:
parent
2805ecaa66
commit
82b524de0a
@ -5021,6 +5021,7 @@ unique_ptr<MessageContent> get_message_content(Td *td, FormattedText message,
|
||||
LOG(ERROR) << "Receive " << actual_story_id << " instead of " << story_id;
|
||||
}
|
||||
}
|
||||
td->messages_manager_->force_create_dialog(dialog_id, "messageMediaStory");
|
||||
return make_unique<MessageStory>(story_full_id, media->via_mention_);
|
||||
}
|
||||
case telegram_api::messageMediaUnsupported::ID:
|
||||
|
@ -557,6 +557,7 @@ WebPageId WebPagesManager::on_get_web_page(tl_object_ptr<telegram_api::WebPage>
|
||||
LOG(ERROR) << "Receive " << actual_story_id << " instead of " << story_id;
|
||||
}
|
||||
}
|
||||
td_->messages_manager_->force_create_dialog(dialog_id, "webPageAttributeStory");
|
||||
page->story_full_ids.push_back(story_full_id);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user