From c1e8a44dd0407bce880afb0f15d8c6f1f4e2f158 Mon Sep 17 00:00:00 2001 From: vulet <38090089+vulet@users.noreply.github.com> Date: Fri, 1 Jan 2021 17:30:26 +0800 Subject: [PATCH] fix(pleroma): unicode --- commands/media.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/media.js b/commands/media.js index 87ed425..ee1e7c7 100644 --- a/commands/media.js +++ b/commands/media.js @@ -2,7 +2,7 @@ const qs = require('qs'); const axios = require('axios'); const FormData = require('form-data'); -const emojis = { public: 'ðŸŒ', unlisted: 'ðŸ“', private: '🔒ï¸', direct: '✉ï¸' }; +const emojis = { public: '🌐', unlisted: '📝', private: '🔒️', direct: '✉️' }; exports.visibilityEmoji = v => emojis[v] || v; const getFilename = header => {