oops, i did check

This commit is contained in:
gnuxie 2022-07-05 12:15:41 +01:00
parent b2325b715e
commit fd30cb1f25

View File

@ -42,9 +42,6 @@ export async function execRulesMatchingCommand(roomId: string, event: any, mjoln
const matchesInfo = `Found ${matches.length} ` + (matches.length === 1 ? 'match:' : 'matches:');
const shortcodeInfo = list.listShortcode ? ` (shortcode: ${htmlEscape(list.listShortcode)})` : '';
// FIXME: I feel like it already replaces pills, but
// just double check.
//await replaceRoomIdsWithPills()
html += `<a href="${htmlEscape(list.roomRef)}">${htmlEscape(list.roomId)}</a>${shortcodeInfo} ${matchesInfo}<br/><ul>`;
text += `${list.roomRef}${shortcodeInfo} ${matchesInfo}:\n`;