diff options
author | 2023-11-27 16:39:44 +0100 | |
---|---|---|
committer | 2023-11-27 15:39:44 +0000 | |
commit | 33ee61575f2fc15c5a85c3fdbb3823a0cd22d25d (patch) | |
tree | 5e887d5ea5b828c84a1a9eb386bbaa07ad63a420 /internal/db/relationship.go | |
parent | [docs] Add docs about memory requirements and swap (#2385) (diff) | |
download | gotosocial-33ee61575f2fc15c5a85c3fdbb3823a0cd22d25d.tar.xz |
[bugfix] Don't copy ptr fields in caches (#2386)
Diffstat (limited to 'internal/db/relationship.go')
-rw-r--r-- | internal/db/relationship.go | 3 |
1 files changed, 3 insertions, 0 deletions
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 } |