feat(cmd): add 10grans ez-tip && fix(cmd): media attachment && style(cmd): default format: markdown
This commit is contained in:
parent
831179b337
commit
56ce1ccd5e
9 changed files with 44 additions and 11 deletions
|
@ -5,7 +5,7 @@ exports.runQuery = function (matrixClient, room, userInput, registrar) {
|
|||
method: 'POST',
|
||||
url: `${registrar.config.fediverse}/api/v1/statuses`,
|
||||
headers: { Authorization: `Bearer ${registrar.config.fediverseToken}` },
|
||||
data: { status: userInput },
|
||||
data: { status: userInput, content_type: `text/markdown` },
|
||||
}).then((response) => {
|
||||
matrixClient.sendHtmlNotice(room.roomId,
|
||||
'',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue