From 1b23e3f0f3fa20e173f44aab70c9a1ba92154888 Mon Sep 17 00:00:00 2001 From: Zhiyuan Zheng Date: Thu, 11 Mar 2021 22:27:38 +0100 Subject: [PATCH] Fixed #40 --- src/screens/Compose.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/screens/Compose.tsx b/src/screens/Compose.tsx index cb90bc25..ffd54a24 100644 --- a/src/screens/Compose.tsx +++ b/src/screens/Compose.tsx @@ -155,12 +155,13 @@ const ScreenCompose: React.FC = ({ disableDebounce: true }) } - formatText({ - textInput: 'text', - composeDispatch, - content: params.accts.map(acct => `@${acct}`).join(' ') + ' ', - disableDebounce: true - }) + params.accts.length && // When replying to myself only, do not add space or even format text + formatText({ + textInput: 'text', + composeDispatch, + content: params.accts.map(acct => `@${acct}`).join(' ') + ' ', + disableDebounce: true + }) break case 'conversation': formatText({