Insert link of post does not generate preview

I think the issue here was that the topic was not in a public category (min. TL0). Is there a workaround to get nice links for topics in non-public categories?