From de6cbf8a22edf64bf39806b04a0222da841b8375 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 7 May 2018 16:25:06 +0900 Subject: リモートアカウントの投稿に対しての返信にはメンションを付けるように MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/app/mobile/views/components/post-form.vue | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client/app/mobile') diff --git a/src/client/app/mobile/views/components/post-form.vue b/src/client/app/mobile/views/components/post-form.vue index 3f890223a3..e5281fcbc4 100644 --- a/src/client/app/mobile/views/components/post-form.vue +++ b/src/client/app/mobile/views/components/post-form.vue @@ -67,6 +67,10 @@ export default Vue.extend({ }, mounted() { + if (this.reply && this.reply.user.host != null) { + this.text = `@${this.reply.user.username}@${this.reply.user.host} `; + } + this.$nextTick(() => { this.focus(); }); -- cgit v1.2.3-freya