Use the correct reference to Mjolnir's client

This commit is contained in:
Travis Ralston committed 2019-11-11 14:31:25 -07:00
1 parent b2790c2866
commit 40113a0760
1 file changed
+1 -1
+1 -1
View File
@@ -93,7 +93,7 @@ export async function applyUserBans(lists: BanList[], roomIds: string[], mjolnir
if (bansApplied > 0) {
const html = `<font color="#00cc00"><b>Banned ${bansApplied} people</b></font>`;
const text = `Banned ${bansApplied} people`;
await this.client.sendMessage(config.managementRoom, {
await mjolnir.client.sendMessage(config.managementRoom, {
msgtype: "m.notice",
body: text,
format: "org.matrix.custom.html",