This may be quite hard to do as a plugin as it’s a change to some very specific discourse logic which isn’t exposed as an API hook.
I know it’s a bold thing to say, but I feel this proposal is a reasonable default behaviour for all forums.
I’m happy to do the Discourse code change myself and submit as a PR if @codinghorror, @sam and co are happy with the idea.