mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-22 17:27:18 +00:00
Merge pull request 'Federate emoji as anonymous objects' (#815) from Oneric/akkoma:emoji-id into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/815
This commit is contained in:
commit
f101886709
|
@ -17,6 +17,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
|
|
||||||
## Fixed
|
## Fixed
|
||||||
- Meilisearch: order of results returned from our REST API now actually matches how Meilisearch ranks results
|
- Meilisearch: order of results returned from our REST API now actually matches how Meilisearch ranks results
|
||||||
|
- Emoji are now federated as anonymous objects, fixing issues with
|
||||||
|
some strict servers e.g. rejecting e.g. remote emoji reactions
|
||||||
|
|
||||||
## Changed
|
## Changed
|
||||||
- Refactored Rich Media to cache the content in the database. Fetching operations that could block status rendering have been eliminated.
|
- Refactored Rich Media to cache the content in the database. Fetching operations that could block status rendering have been eliminated.
|
||||||
|
|
|
@ -951,7 +951,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
||||||
"name" => ":" <> name <> ":",
|
"name" => ":" <> name <> ":",
|
||||||
"type" => "Emoji",
|
"type" => "Emoji",
|
||||||
"updated" => "1970-01-01T00:00:00Z",
|
"updated" => "1970-01-01T00:00:00Z",
|
||||||
"id" => url
|
"id" => nil
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -700,7 +700,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.NoteHandlingTest do
|
||||||
assert Transmogrifier.take_emoji_tags(user) == [
|
assert Transmogrifier.take_emoji_tags(user) == [
|
||||||
%{
|
%{
|
||||||
"icon" => %{"type" => "Image", "url" => "https://example.org/firefox.png"},
|
"icon" => %{"type" => "Image", "url" => "https://example.org/firefox.png"},
|
||||||
"id" => "https://example.org/firefox.png",
|
"id" => nil,
|
||||||
"name" => ":firefox:",
|
"name" => ":firefox:",
|
||||||
"type" => "Emoji",
|
"type" => "Emoji",
|
||||||
"updated" => "1970-01-01T00:00:00Z"
|
"updated" => "1970-01-01T00:00:00Z"
|
||||||
|
|
|
@ -43,7 +43,7 @@ defmodule Pleroma.Web.ActivityPub.UserViewTest do
|
||||||
"tag" => [
|
"tag" => [
|
||||||
%{
|
%{
|
||||||
"icon" => %{"type" => "Image", "url" => "/test"},
|
"icon" => %{"type" => "Image", "url" => "/test"},
|
||||||
"id" => "/test",
|
"id" => nil,
|
||||||
"name" => ":bib:",
|
"name" => ":bib:",
|
||||||
"type" => "Emoji",
|
"type" => "Emoji",
|
||||||
"updated" => "1970-01-01T00:00:00Z"
|
"updated" => "1970-01-01T00:00:00Z"
|
||||||
|
|
Loading…
Reference in a new issue