diff --git a/src/commands/StatusCommand.ts b/src/commands/StatusCommand.ts index 987c133..bcaa66a 100644 --- a/src/commands/StatusCommand.ts +++ b/src/commands/StatusCommand.ts @@ -75,8 +75,8 @@ async function showMjolnirStatus(roomId: string, event: any, mjolnir: Mjolnir) { text += "Subscribed ban lists:\n"; for (const list of mjolnir.lists) { const ruleInfo = `rules: ${list.serverRules.length} servers, ${list.userRules.length} users, ${list.roomRules.length} rooms`; - html += `
  • ${list.roomId} (${ruleInfo})
  • `; - text += `* ${list.roomRef} (${ruleInfo})\n`; + html += `
  • ${htmlEscape(list.listShortcode)} @ ${list.roomId} (${ruleInfo})
  • `; + text += `* ${list.listShortcode} @ ${list.roomRef} (${ruleInfo})\n`; } if (mjolnir.lists.length === 0) { html += "
  • None
  • ";