How can I get the topic status

How can I get the topic status?

I see that the method topic.closed? is available, but I’d like to get the status string back.

Similar to topic.category.name.

The problem is that topics can have multiple statuses. For example a topic can be closed AND deleted. It can be invisible AND closed, etc.

2 Likes