This commit is contained in:
Rory& 2025-09-20 21:01:48 +02:00
parent 75ef9c9c32
commit 2731ccd7f9

View file

@ -137,7 +137,7 @@ async function sendSummary() {
} }
async function sendSummaryMatrix(yesterday, stats) { async function sendSummaryMatrix(yesterday, stats) {
const html = ``` const html = `
<table> <table>
<thead> <thead>
<tr> <tr>
@ -153,7 +153,7 @@ async function sendSummaryMatrix(yesterday, stats) {
${stats.isNewRecord ? `<tr><td colspan="2">🎉 NEW RECORD! 🎉 A new record has been set, at ${stats.totalCallsMade}!</td></tr>` : ''} ${stats.isNewRecord ? `<tr><td colspan="2">🎉 NEW RECORD! 🎉 A new record has been set, at ${stats.totalCallsMade}!</td></tr>` : ''}
</tbody> </tbody>
</table> </table>
```; `;
var message = { var message = {
"msgtype": "m.text", "msgtype": "m.text",
"format": "org.matrix.custom.html", "format": "org.matrix.custom.html",