[backend/federation] Send remote reacts as anonymous emoji objects, set correct id for local emoji reacts
All checks were successful
/ build-and-push (push) Successful in 1m41s
/ unit-tests (push) Successful in 24s

This commit is contained in:
Laura Hausmann 2024-04-18 20:39:11 +02:00
parent 523dd80ea9
commit 333611f65e
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -97,7 +97,7 @@ public class ActivityRenderer(
var e = new ASEmoji
{
Id = emoji.PublicUrl,
Id = emoji.Host == null ? $"https://{config.Value.WebDomain}/emoji/{emoji.Name}" : null,
Name = name,
Image = new ASImage { Url = new ASLink(emoji.PublicUrl) }
};