WIP: feature: threads'n'forums #74

Draft
Guzio wants to merge 109 commits from Guzio/out-of-your-element:mergable-fr-fr into main
Showing only changes of commit 3e42616065 - Show all commits

View file

@ -339,13 +339,13 @@ const commands = [{
body: "You cannot create threads in a Discord channel of the type, to which this Matrix room is bridged to. Did you try to create a thread inside a thread?"
})
}
else if (e.code === 50035) {
/*else if (e.code === 50035) {
return api.sendEvent(event.room_id, "m.room.message", {
...ctx,
msgtype: "m.text",
body: "Specified thread name is too long - thread creation failed. Please yap a bit less in the title, thread body is for that. ;)"
body: "Specified thread name is too long - thread creation failed. Please yap a bit less in the title, the thread body is for that. ;)"
})
}
}*/
else {
await api.sendEvent(event.room_id, "m.room.message", {
...ctx,