Fix link to remote emoji that was copied to local instance

This commit is contained in:
Angelina Filippova 2020-04-01 16:28:42 +03:00
parent 7418324210
commit ee20731a4e

View file

@ -145,7 +145,7 @@ export default {
try { try {
this.$store.dispatch('AddNewEmojiFile', { this.$store.dispatch('AddNewEmojiFile', {
packName: this.copyToLocalPackName, packName: this.copyToLocalPackName,
file: this.addressOfEmojiInPack(this.host, this.packName, this.file), file: this.addressOfEmojiInPack(this.remoteInstance, this.packName, this.file),
shortcode: this.copyToShortcode.trim() !== '' ? this.copyToShortcode.trim() : this.shortcode, shortcode: this.copyToShortcode.trim() !== '' ? this.copyToShortcode.trim() : this.shortcode,
filename: this.copyToFilename.trim() !== '' ? this.copyToFilename.trim() : this.file filename: this.copyToFilename.trim() !== '' ? this.copyToFilename.trim() : this.file
}) })