mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-10-23 01:21:16 +00:00
Use the correct reference to Mjolnir's client
This commit is contained in:
1 parent
b2790c2866
commit
40113a0760
1 file changed
+1
-1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user