Lindsey
7 years agoLeader
Context object to see if current thread is featured
Is there a freemarker context object to see if the message you are on is chosen to be "featured"? We want to create a component on the individual thread page itself that will say that the current thread you are on is chosen to be featured.
Sign in to react to this post
There is no context-object to check message is featured topic.
You can use API to get featured message and pass message id context object to query.
${page.context.message.id} ${env.context.message.id}SELECT conversation.featured FROM messages WHERE conversation.featured = true AND id = '${env.context.message.id}'