From 33ee61575f2fc15c5a85c3fdbb3823a0cd22d25d Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 27 Nov 2023 16:39:44 +0100 Subject: [bugfix] Don't copy ptr fields in caches (#2386) --- internal/db/relationship.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/db/relationship.go') diff --git a/internal/db/relationship.go b/internal/db/relationship.go index b3b45551b..5191701bb 100644 --- a/internal/db/relationship.go +++ b/internal/db/relationship.go @@ -184,4 +184,7 @@ type Relationship interface { // PutNote creates or updates a private note. PutNote(ctx context.Context, note *gtsmodel.AccountNote) error + + // PopulateNote populates the struct pointers on the given note. + PopulateNote(ctx context.Context, note *gtsmodel.AccountNote) error } -- cgit v1.2.3