diff --git a/src/client/app/mobile/views/components/post-form.vue b/src/client/app/mobile/views/components/post-form.vue index 868b235f9..50fee826b 100644 --- a/src/client/app/mobile/views/components/post-form.vue +++ b/src/client/app/mobile/views/components/post-form.vue @@ -219,6 +219,16 @@ export default Vue.extend({ (this.$refs.text as any).focus(); }, + addVisibleUser() { + this.$root.dialog({ + title: this.$t('enter-username'), + user: true + }).then(({ canceled, result: user }) => { + if (canceled) return; + this.visibleUsers.push(user); + }); + }, + chooseFile() { (this.$refs.file as any).click(); },