# 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:** 2

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [September 7, 2020, 8:16pm UTC](https://meta.discourse.org/t/imported-private-discussion-doesnt-appear-in-the-author-inbox/163252/2 "2020-09-07T20:16:19Z")

</div>

From [data explorer](https://meta.discourse.org/t/32566?silent=true), I noticed that the **participant\_count** value is wrong:  
 ![image](https://global.discourse-cdn.com/meta/original/3X/3/d/3d1ef527898b5b2bf938d6857803bd31c15318f6.png)

It’s written 1, but there are two people in the conversation.  
If I update the topic’s field **participant\_count** to 2 like this:

```ruby
Topic.find_by(id: 218613).update(participant_count: 2)

```

the topic now appears in the author’s inbox:

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/1/51e437d1861fb68a7684a76e04a76b98d2e0843b.png)

I didn’t notice this behavior by updating other fields like **reply\_count** for example, so it seems specific to **participant\_count** and maybe other fields.

In my import script, I tried adding this:

```ruby
p[:participant_count] = target_usernames.count

```

But it didn’t work, I guess we can’t set this field in the importers’ methods.

So I’m a bit stuck here. I’d like my users to have all their PMs with replies in their inbox, not only those that they didn’t start themselves.

Any idea?

---

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