Copy emoji in the subject from parent post
authorrinpatch <rin@patch.cx>
Mon, 22 Mar 2021 17:07:07 +0000 (20:07 +0300)
committerrinpatch <rin@patch.cx>
Mon, 22 Mar 2021 18:20:47 +0000 (21:20 +0300)
commitd3660b24d37862bb58cf309c582cfe7432fd7bb6
treee82f7305c6362dc41d0a3d6119759cc2d491b822
parent572363793f27895903a8c156fd614ec5c7493cd1
Copy emoji in the subject from parent post

Sometimes people put emoji in the subject, which results in the subject
looking broken if someone replies to it from a server that does not
have the said emoji under the same shortcode. This patch solves the problem
by extending the emoji set available in the summary to that of the parent
post.
lib/pleroma/web/common_api/activity_draft.ex
test/fixtures/tesla_mock/emoji-in-summary.json [new file with mode: 0644]
test/pleroma/web/common_api_test.exs
test/support/http_request_mock.ex