feat(MSC3440): implement threads for feed and notifications.
fix(sendHtmlNotice): possibly MSC1767 related.
This commit is contained in:
parent
3122361c6c
commit
5924009154
8 changed files with 56 additions and 10 deletions
|
@ -66,7 +66,7 @@ const getInstance = (domain, config) =>
|
|||
const run = async (roomId, userInput) => {
|
||||
const cfg = config.nitter;
|
||||
const tweet = await matrix.utils.retryPromise(cfg.domains.redirect, domain => nitter(getInstance(domain, cfg), userInput));
|
||||
return matrixClient.sendHtmlNotice(roomId, '', card(tweet, cfg.check, userInput));
|
||||
return matrixClient.sendHtmlNotice(roomId, ' ', card(tweet, cfg.check, userInput));
|
||||
};
|
||||
|
||||
exports.runQuery = async (roomId, event, userInput) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue