diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-04-02 17:15:29 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2018-05-16 19:45:30 +0200 |
commit | fb6de5310dd2537af6dd94ada7e521d7ab5dfb09 (patch) | |
tree | 7c3dd9c3f2cbe7ad9ad17ba0fce80f46927fde6b /app/javascript/flavours/glitch/reducers/compose.js | |
parent | a5fac975f3951e954f8a1685150e716250a16a78 (diff) |
[Glitch] Fix issues with sending direct messages from user profile
Port 4fd71accd419fb79cc75e0ebf30df374d174ebf5 to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/reducers/compose.js')
-rw-r--r-- | app/javascript/flavours/glitch/reducers/compose.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/reducers/compose.js b/app/javascript/flavours/glitch/reducers/compose.js index 68c7e11f1..bf0395a39 100644 --- a/app/javascript/flavours/glitch/reducers/compose.js +++ b/app/javascript/flavours/glitch/reducers/compose.js @@ -328,7 +328,7 @@ export default function compose(state = initialState, action) { .set('idempotencyKey', uuid()); case COMPOSE_DIRECT: return state - .update('text', text => `${text}@${action.account.get('acct')} `) + .update('text', text => `@${action.account.get('acct')} `) .set('privacy', 'direct') .set('focusDate', new Date()) .set('idempotencyKey', uuid()); |