mirror of
https://github.com/vale981/ement.el
synced 2025-03-04 17:01:39 -05:00
Fix: (ement-send-message) Sending in Org format
Oops, broke that when I used --format-body-mentions here.
This commit is contained in:
parent
0d95f4ed19
commit
94faf1261b
1 changed files with 2 additions and 1 deletions
|
@ -422,7 +422,8 @@ e.g. `ement-room-send-org-filter')."
|
|||
(pcase-let* (((cl-struct ement-room (id room-id)) room)
|
||||
(endpoint (format "rooms/%s/send/m.room.message/%s" (url-hexify-string room-id)
|
||||
(ement--update-transaction-id session)))
|
||||
(formatted-body (ement--format-body-mentions (or formatted-body body) room))
|
||||
(formatted-body (when formatted-body
|
||||
(ement--format-body-mentions formatted-body room)))
|
||||
(content (ement-aprog1
|
||||
(ement-alist "msgtype" "m.text"
|
||||
"body" body)
|
||||
|
|
Loading…
Add table
Reference in a new issue