mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 08:19:05 +00:00
[Glitch] Fix issues with sending direct messages from user profile
Port 4fd71accd4 to glitch-soc
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user