diff --git a/pkg/hicli/send.go b/pkg/hicli/send.go index 197af9c..3ecd3d3 100644 --- a/pkg/hicli/send.go +++ b/pkg/hicli/send.go @@ -167,6 +167,11 @@ func (h *HiClient) SendMessage( if contentCopy.File != nil { content.URL = contentCopy.File.URL } + if extra != nil { + extra = map[string]any{ + "m.new_content": extra, + } + } } else { content.RelatesTo = relatesTo }