9 lines
325 B
JavaScript
9 lines
325 B
JavaScript
|
import { importShowComposeDialog } from '../_components/dialog/asyncDialogs'
|
||
|
import { store } from '../_store/store'
|
||
|
|
||
|
export async function composeNewStatusMentioning (account) {
|
||
|
store.setComposeData('dialog', { text: `@${account.acct} ` })
|
||
|
let showComposeDialog = await importShowComposeDialog()
|
||
|
showComposeDialog()
|
||
|
}
|