Implement remote account resolution

This commit is contained in:
Akihiko Odaki 2018-03-27 16:51:12 +09:00
parent bee892d446
commit 68ce6d5748
73 changed files with 735 additions and 334 deletions

View file

@ -7,6 +7,8 @@
<script lang="ts">
import Vue from 'vue';
import getAcct from '../../../../../common/user/get-acct';
export default Vue.extend({
mounted() {
document.title = 'Misskey %i18n:mobile.tags.mk-messaging-page.message%';
@ -14,7 +16,7 @@ export default Vue.extend({
},
methods: {
navigate(user) {
(this as any).$router.push(`/i/messaging/${user.username}`);
(this as any).$router.push(`/i/messaging/${getAcct(user)}`);
}
}
});