username on sendmessage

This commit is contained in:
Guilherme Gazzo 2017-11-13 20:49:52 -02:00
parent 8bd7459e12
commit 8e67e75a09
No known key found for this signature in database
GPG Key ID: 1F85C9AD922D0829
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ const RocketChat = {
_server: { id: reduxStore.getState().server.server },
u: {
_id: reduxStore.getState().login.user.id || '1',
username: reduxStore.getState().login.user.id
username: reduxStore.getState().login.user.username
}
};