Allow bot to call itself

This commit is contained in:
Aslan 2026-01-22 17:31:02 -05:00
parent e43f6592a5
commit 0958a8c272

View file

@ -82,10 +82,6 @@ const registerModules = (client: MatrixClient) => {
return; return;
} }
if (sender === config.userId) {
return;
}
let image: Buffer<ArrayBuffer> | undefined; let image: Buffer<ArrayBuffer> | undefined;
if (content.msgtype === MsgType.Image) { if (content.msgtype === MsgType.Image) {
if (typeof content.url === "string") { if (typeof content.url === "string") {