The method RocketChatClientCallBuilder.login in master branch is using username field to set the username value but the API is expecting user instead.
By using username the response is always 401 Unauthorized (other endpoints are already accepting username so my understanding is this field name should be standardised).
The method
RocketChatClientCallBuilder.logininmasterbranch is usingusernamefield to set the username value but the API is expectinguserinstead.By using
usernamethe response is always401 Unauthorized(other endpoints are already acceptingusernameso my understanding is this field name should be standardised).