From 37a3d224a780766af2cf8471d32edeea8ba9e755 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 5 Oct 2024 11:36:01 +0200 Subject: [PATCH] [bugfix] Account for nil reply when serializing int req (#3389) --- internal/typeutils/internaltofrontend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,