Skip to content

Conversation

@thomasrossetto
Copy link
Contributor

Hi!
Based on the existing code, I’ve added this parameter so we can create a topic and control its visibility.

Unfortunately, the parameter isn’t officially documented in the API, but it does work correctly.
However, the response doesn’t include any visibility information, so I’m not able to add a test for it.

Let me know if this change is okay for you or if you’d prefer something different.
Thanks!

@thomasrossetto
Copy link
Contributor Author

Hi @oblakeerickson, have you had a moment to review this small change? 😄

Copy link

@pmusaraj pmusaraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @thomasrossetto, looks good.

If you're up for improving this upstream (in core) so the visible parameter can be returned by the API, I'd be happy to look into that as well.

@pmusaraj pmusaraj merged commit 6e5e71b into discourse:main Dec 9, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants