Delete duplicate text when a muted user tries to send a PM

When a muted user try to send a personal message a warning will be displayed:

Sorry, is not accepting messages at the moment.
Sorry, %{username} is not accepting messages at the moment.

Only the second sentence should be visible:

7 Likes

I would say this is a bug cc @sam

5 Likes

This one was a nice bug. :heart:

https://github.com/discourse/discourse/pull/6697

7 Likes