diff options
author | 2024-10-05 11:36:01 +0200 | |
---|---|---|
committer | 2024-10-05 11:36:01 +0200 | |
commit | 37a3d224a780766af2cf8471d32edeea8ba9e755 (patch) | |
tree | bd975ff0ffa897db2e2e34f1dff5dcd996036be0 /internal/typeutils | |
parent | [bugfix] Don't try to add nil filtered statuses to context (#3388) (diff) | |
download | gotosocial-37a3d224a780766af2cf8471d32edeea8ba9e755.tar.xz |
[bugfix] Account for nil reply when serializing int req (#3389)
Diffstat (limited to 'internal/typeutils')
-rw-r--r-- | internal/typeutils/internaltofrontend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/typeutils/internaltofrontend.go b/internal/typeutils/internaltofrontend.go index 76d8ec81b..6bd6d0900 100644 --- a/internal/typeutils/internaltofrontend.go +++ b/internal/typeutils/internaltofrontend.go @@ -2711,7 +2711,7 @@ func (c *Converter) InteractionReqToAPIInteractionReq( } var reply *apimodel.Status - if req.InteractionType == gtsmodel.InteractionReply { + if req.InteractionType == gtsmodel.InteractionReply && req.Reply != nil { reply, err = c.statusToAPIStatus( ctx, req.Reply, |