Issue: Response of /api/v1/dm.create

Description

When we use the dm.create api for not exist username, the response should be like bellow.
{“success”:false,“error”:“Invalid user [error-invalid-user]”,“errorType”:“error-invalid-user”,“details”:{“method”:“createDirectMessage”}}

But in case, @ is included to the username (and not exist), dm.create response me the room id with myself without error.

Server Setup Information

  • Version of Rocket.Chat Server: v7.2.2

As has been written multiple times, always test issues on latest code.

1 Like