WIP: feature: threads'n'forums #74
1 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ async function bridgeThread(event) {
|
|||
return true;
|
||||
}
|
||||
catch (e){
|
||||
if (e.message?.includes("50024")){
|
||||
if (e.message?.includes("50024")){ // see: https://docs.discord.com/developers/topics/opcodes-and-status-codes
|
||||
api.sendEvent(event.room_id, "m.room.message", {
|
||||
body: "Hey, please don't do that! This room is already a thread on Discord - trying to embed threads inside it will not work. The user will just see a regular reply.",
|
||||
"m.mentions": { "user_ids": [event.sender]},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue