fix(pleroma): unicode

This commit is contained in:
vulet 2021-01-01 17:30:26 +08:00 committed by GitHub
parent a7e32b5a3f
commit c1e8a44dd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ const qs = require('qs');
const axios = require('axios'); const axios = require('axios');
const FormData = require('form-data'); const FormData = require('form-data');
const emojis = { public: 'ðŸŒ', unlisted: 'ðŸ“', private: '🔒ï¸', direct: '✉ï¸' }; const emojis = { public: '🌐', unlisted: '📝', private: '🔒️', direct: '✉️' };
exports.visibilityEmoji = v => emojis[v] || v; exports.visibilityEmoji = v => emojis[v] || v;
const getFilename = header => { const getFilename = header => {