Convert a private message to public topic or vice versa

AI-generated summary

techAPJ announced a new feature allowing staff to convert public topics to private messages (PMs) and vice versa via the admin wrench. The update includes visual indicators for these conversions. Initially, techAPJ confirmed the feature was restricted to administrators only. jomaxro and cpradio discussed the utility of the feature for moderators, noting scenarios where moving a public discussion to a PM or converting a PM to a public topic would be beneficial. cpradio clarified that moderators would lose visibility if they converted a topic to a PM unless they were added as participants, which they viewed as acceptable. jomaxro provided a specific use case involving converting a PM back to a public topic to share troubleshooting with the community. codinghorror noted that converting PMs to public topics is safer as it doesn’t risk moderators losing access. techAPJ stated that moderator access would be considered if valid use cases were presented and approved by codinghorror. Following this feedback, techAPJ updated the code to make both conversion options available to moderators. The implementation includes caveats: moderators can only use the feature if they can already see or create posts in the specific topic/PM, and converting a public topic to a PM automatically adds the moderator as a participant.

I just pushed a commit that adds a button (visible to staff) to admin wrench to make a topic public or private message.

Convert public topic to private message:

Small action post indicating that public topic is converted to private message:

Convert private message to public topic:

Small action post indicating that private message is converted to public topic:

20 Likes

@techAPJ, is the later option available to moderators? Fully understand why the first is admin only.

1 Like

Yeah, we’ve had a few scenarios on our instance where it would have been nice to be able to push a button to make a topic private. I have less desire/need to make any public, but from a moderator perspective, making some private could be beneficial (rare occurance though for us).

3 Likes

If moderators get the ability to make a message private, who are the recipients of the PM? If the moderator (specific user or group) isn’t part of the PM, they can’t view it…

1 Like

I would assume those that are in the discussion of the topic.

Which is sort of the point. We as mods feel the topic shouldn’t be public, I don’t mind that I would lose viewability to it. Plus if need be the users of the discussion could flag it to report any problems.

Again though, this is such a rarity for us, that I don’t feel overly strong about needing the ability (was just stating we’ve had a few scenarios where it would have been nice).

6 Likes

I :heart: :heart_decoration: :heart_exclamation: :heart_eyes: :heart_eyes_cat: this in a big, big, big way. Will make a big difference in my community.

Many, many thanks. :beers:

5 Likes

Not yet, currently both options are Admin only.

4 Likes

Does that imply this might become available to moderators later? If so, what would be the cause of the feature becoming available?

1 Like

By “Not yet” I mean this feature is still in feedback mode so if you provide valid use case and @codinghorror agrees, then I can amend the code to make this feature available to Moderators.

1 Like

Well, @cpradio has a good use case above.

My use case would be the following:

A few months ago a user posted a large number of support topics, all very valid. I helped the user in most of the cases. Eventually, the user PM’d me asking more questions. I helped the user via PM, and finally they were all set. In that case, I would’ve like to covert the PM to regular topic so others could see the discussion and troubleshooting we did.

2 Likes

PM to regular is a lot safer direction since it does not imply the mod loses access to the topic…

2 Likes

User option was never even being discussed, so I am not sure what you are talking about?

4 Likes

any chance we could get this on posts which are pending approval?

2 Likes

Unlikely as those do not exist in the same tables I don’t think.

1 Like

Okay, this feature (both options) is now available for moderators too. Here are some caveats:

  • If a moderator can see / create a post in the topic/message only then they will have the ability to use this feature.

  • If a moderator converts a public topic to private message, then that moderator will be added as participant in that message.

cc @jomaxro @cpradio


https://github.com/discourse/discourse/commit/b25d950d99d6c627790a78a26b6744bc5de4d746

14 Likes