Skip to content

Commit

Permalink
インタラクトでカスタム絵文字を受けられるように
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Oct 31, 2021
1 parent d9b3fda commit 6beb55b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/client/app/common/views/pages/follow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ export default Vue.extend({
this.user = res.object;
} else if (res.type === 'Note') {
this.$router.push(`/notes/${res.object.id}`);
} else if (res.type === 'Emoji') {
this.$root.dialog({
type: 'success',
text: `:${res.object.name}:`,
mfmCustomEmojis: [ res.object ]
});
} else {
this.$root.dialog({
type: 'error',
Expand Down

0 comments on commit 6beb55b

Please sign in to comment.