From 1bcf33abdcdf9cf3c182d13cc3d9e4fa82e98dde Mon Sep 17 00:00:00 2001
From: Angelina Filippova
Date: Wed, 25 Mar 2020 01:53:50 +0300
Subject: [PATCH 1/3] Change link for downloading emoji packs
---
src/views/emojiPacks/components/EmojiPack.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/emojiPacks/components/EmojiPack.vue b/src/views/emojiPacks/components/EmojiPack.vue
index e20dc216..0eaf70b7 100644
--- a/src/views/emojiPacks/components/EmojiPack.vue
+++ b/src/views/emojiPacks/components/EmojiPack.vue
@@ -62,7 +62,7 @@
From 05abaf1916d4d0f1e9145c4311405fc53af280bc Mon Sep 17 00:00:00 2001
From: Angelina Filippova
Date: Wed, 25 Mar 2020 02:20:56 +0300
Subject: [PATCH 2/3] Fix link for downloading emoji pack to instance
---
src/views/emojiPacks/components/EmojiPack.vue | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/views/emojiPacks/components/EmojiPack.vue b/src/views/emojiPacks/components/EmojiPack.vue
index 0eaf70b7..d31fcf8a 100644
--- a/src/views/emojiPacks/components/EmojiPack.vue
+++ b/src/views/emojiPacks/components/EmojiPack.vue
@@ -92,7 +92,7 @@
-
+
{{ isDesktop ? $t('emoji.downloadSharedPack') : $t('emoji.downloadSharedPackMobile') }}
@@ -209,10 +209,11 @@ export default {
}
},
methods: {
- downloadFromInstance() {
+ downloadFromInstance(url) {
+ const instanceAddress = `${new URL(url).protocol}//${new URL(url).hostname}`
this.$store.dispatch(
'DownloadFrom',
- { instanceAddress: this.host, packName: this.name, as: this.downloadSharedAs }
+ { instanceAddress, packName: this.name, as: this.downloadSharedAs }
).then(() => this.$store.dispatch('ReloadEmoji'))
.then(() => this.$store.dispatch('SetLocalEmojiPacks'))
},
From b30d2553c50cd00e4acc2b3de69a3f273c4f98a2 Mon Sep 17 00:00:00 2001
From: Angelina Filippova
Date: Wed, 25 Mar 2020 02:23:36 +0300
Subject: [PATCH 3/3] Update Changelog
---
CHANGELOG.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 17a011a9..8f6dfb81 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix parsing tuples in Pleroma.Upload.Filter.Mogrify and Pleroma.Emails.Mailer settings
- Fix settings submit button position on wide screens when sidebar menu is open
+- Updates links for downloading remote emoji packs
## [2.0] - 2020-02-27