Description:
Server Setup Information:
- Version of Rocket.Chat Server: 0.64.1
Steps to Reproduce:
- User is muted.
- Tries to send a message.
- The result returned is:
{"message":false,"success":true}
This was tested on main public server open.rocket.chat using the REST endpoint:
/api/v1/chat.sendMessage
Maybe it helps to point out that on the realtime api the response is different: a["{\"msg\":\"result\",\"id\":\"25\",\"result\":false}"].
Expected behavior:
We should use a proper HTTP status code response. If it's not possible, I think we should at least get a consistent result such as an empty object, but not false.