Removed unnecessary trim (#4399)

Co-authored-by: marianunez <maria.nunez@mattermost.com>
This commit is contained in:
Mattermost Build 2020-06-09 03:43:40 +02:00 committed by GitHub
parent 34af598a6d
commit c3fc53a071
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,7 @@ export default class PostDraft extends PureComponent {
channel_id: channelId,
root_id: rootId,
parent_id: rootId,
message: value.trim(),
message: value,
};
createPost(post, postFiles);