[backend/federation] Fix federation with akkoma (ISH-149)

This commit is contained in:
Laura Hausmann 2024-03-10 22:38:53 +01:00
parent 8bee76380c
commit 46140b3ace
No known key found for this signature in database
GPG key ID: D044E84C5BE01605
2 changed files with 5 additions and 2 deletions

View file

@ -62,7 +62,10 @@ public static class LdHelpers
private static readonly JsonLdProcessorOptions Options = new()
{
DocumentLoader = CustomLoader, ExpandContext = ASExtensions, ProcessingMode = JsonLdProcessingMode.JsonLd11
DocumentLoader = CustomLoader,
ExpandContext = ASExtensions,
ProcessingMode = JsonLdProcessingMode.JsonLd11,
KeepIRIs = ["https://www.w3.org/ns/activitystreams#Public"]
};
public static readonly JsonSerializerSettings JsonSerializerSettings = new()

View file

@ -22,7 +22,7 @@
<PackageReference Include="AsyncKeyedLock" Version="6.3.4"/>
<PackageReference Include="Blurhash.ImageSharp" Version="3.0.0"/>
<PackageReference Include="cuid.net" Version="5.0.2"/>
<PackageReference Include="dotNetRdf.Core" Version="3.2.1-dev"/>
<PackageReference Include="dotNetRdf.Core" Version="3.2.2-iceshrimp" />
<PackageReference Include="EntityFrameworkCore.Exceptions.PostgreSQL" Version="8.0.0"/>
<PackageReference Include="EntityFrameworkCore.Projectables" Version="3.0.4"/>
<PackageReference Include="Isopoh.Cryptography.Argon2" Version="2.0.0"/>