mirror of
https://github.com/discourse/discourse.git
synced 2025-02-27 10:11:53 +08:00

When a user is answering a whisper comment, they cannot change from whisper to regular answer. However, user can click reply to topic. We keep `postSnapshot` so user can change mind and switch back to reply to post. In that case, a toggle whisper button should appear. To make it happen, I am ensuring to display a toggle whisper button when user is replying to topic - `postLink` attribute is missing.