Comparison of all the stuff I did. #6

Merged
Guzio merged 48 commits from fuckery into main 2026-03-02 15:17:09 +00:00
Showing only changes of commit f9e303f018 - Show all commits

View file

@ -31,7 +31,7 @@ async function threadToAnnouncement(parentRoomID, threadRoomID, creatorMxid, thr
} }
const msgtype = creatorMxid ? "m.emote" : "m.text" const msgtype = creatorMxid ? "m.emote" : "m.text"
const template = creatorMxid ? "started a thread" : "New thread started: " const template = creatorMxid ? "started a thread" : "New thread started:"
const via = await mxUtils.getViaServersQuery(threadRoomID, di.api) const via = await mxUtils.getViaServersQuery(threadRoomID, di.api)
let body = `${template}${thread.name}” in room: https://matrix.to/#/${threadRoomID}?${via.toString()}${suffix}` let body = `${template}${thread.name}” in room: https://matrix.to/#/${threadRoomID}?${via.toString()}${suffix}`