From c3fc53a0713a2f773f60ee4eb19edfb279205279 Mon Sep 17 00:00:00 2001 From: Mattermost Build Date: Tue, 9 Jun 2020 03:43:40 +0200 Subject: [PATCH] Removed unnecessary trim (#4399) Co-authored-by: marianunez --- app/components/post_draft/post_draft.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/post_draft/post_draft.js b/app/components/post_draft/post_draft.js index ae5b0ae0e..4e03925f0 100644 --- a/app/components/post_draft/post_draft.js +++ b/app/components/post_draft/post_draft.js @@ -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);