🐛 Fix edit message did not has the related event id

This commit is contained in:
LittleSheep 2024-12-29 23:09:39 +08:00
parent 3d1c7e1bda
commit 3000b9d1a3

View File

@ -27,6 +27,7 @@ func EditMessage(event models.Event, body models.EventMessageBody) (models.Event
Channel: event.Channel,
Sender: event.Sender,
QuoteEventID: body.QuoteEventID,
RelatedEventID: &event.ID,
ChannelID: event.ChannelID,
SenderID: event.SenderID,
})