diff --git a/apps/server-net/src/Modules/Chats/Infrastructure/Persistence/Mongo/MongoDbMapConfigurator.cs b/apps/server-net/src/Modules/Chats/Infrastructure/Persistence/Mongo/MongoDbMapConfigurator.cs index 5d29df6..f63556b 100644 --- a/apps/server-net/src/Modules/Chats/Infrastructure/Persistence/Mongo/MongoDbMapConfigurator.cs +++ b/apps/server-net/src/Modules/Chats/Infrastructure/Persistence/Mongo/MongoDbMapConfigurator.cs @@ -31,6 +31,7 @@ public static class MongoDbMapConfigurator cm.MapField("_deletedFor").SetElementName("DeletedFor"); cm.MapField("_readBy").SetElementName("ReadBy"); cm.MapField("_reactions").SetElementName("Reactions"); + cm.MapProperty(c => c.Quote).SetSerializer(new EncryptedStringSerializer()); cm.SetIsRootClass(true); });