WIP: feature: threads'n'forums #74
1 changed files with 2 additions and 0 deletions
|
|
@ -224,6 +224,7 @@ async event => {
|
|||
if (toRedact){
|
||||
api.redactEvent(toRedact, event.event_id)
|
||||
api.sendEvent(event.room_id, event.type, event.content)
|
||||
console.log(event);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -266,6 +267,7 @@ async function bridgeThread(event) {
|
|||
|
||||
event.room_id = await createRoom.ensureRoom((await discord.snow.channel.createThreadWithMessage(channelID, messageID, {name})).id)
|
||||
event.content["m.relates_to"] = {}
|
||||
console.log(event);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue