mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-18 07:01:49 +03:00
[bugfix] Account for nil reply when serializing int req (#3389)
This commit is contained in:
parent
d3d6e3f920
commit
37a3d224a7
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue