Switch from prettier to oxfmt (#33844)
* Switch from prettier to oxfmt * Make knip happy * Make knip happy * Apply suggestion from @t3chguy * Rename .oxfmtrc.json to .oxfmtrc.jsonc * Make oxfmt happier
This commit is contained in:
@@ -649,8 +649,8 @@ export function mkMessage({
|
||||
...opts,
|
||||
type: "m.room.message",
|
||||
content: {
|
||||
msgtype: "m.text",
|
||||
body: message,
|
||||
"msgtype": "m.text",
|
||||
"body": message,
|
||||
...(format && formattedMsg ? { format, formatted_body: formattedMsg } : {}),
|
||||
["m.relates_to"]: relatesTo,
|
||||
},
|
||||
|
||||
@@ -28,8 +28,8 @@ export const makeThreadEvent = ({
|
||||
mkMessage({
|
||||
...props,
|
||||
relatesTo: {
|
||||
event_id: rootEventId,
|
||||
rel_type: "m.thread",
|
||||
"event_id": rootEventId,
|
||||
"rel_type": "m.thread",
|
||||
["m.in_reply_to"]: {
|
||||
event_id: replyToEventId,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user