# Imported private discussion doesn't appear in the author inbox

**URL:** <https://meta.discourse.org/t/imported-private-discussion-doesnt-appear-in-the-author-inbox/163252>\
**Category:** Migration\
**Tags:** vbulletin5\
**Created:** [September 7, 2020, 1:17pm UTC](https://meta.discourse.org/t/imported-private-discussion-doesnt-appear-in-the-author-inbox/163252 "2020-09-07T13:17:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![kris.kotlarek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kris.kotlarek/32/176919_2.png) [@kris.kotlarek](https://meta.discourse.org/u/kris.kotlarek)\
**Post date:** [September 9, 2020, 5:13am UTC](https://meta.discourse.org/t/imported-private-discussion-doesnt-appear-in-the-author-inbox/163252/6 "2020-09-09T05:13:00Z")

</div>

Thank you for mentioning that bug. I checked it myself and you are right - when `participant_count` is incorrect, then message is not visible in message’s author inbox.

Also, you are right that even if you explicitly add that param to create\_posts - it is not set correctly.

This is because TopicCreate has explicit list of allowed params:

> <https://github.com/discourse/discourse/blob/main/lib/topic_creator.rb#L91:L131>

Today I will create a PR to Discourse to accept that attribute in import mode.

In the meantime, to not wait for latest version of Discourse, you can run at the very end of your script

`Topic.private_messages.map(&:update_statistics)` - this should correct all numbers

---

_[View the full topic](https://meta.discourse.org/t/imported-private-discussion-doesnt-appear-in-the-author-inbox/163252)._
