Allow bot to call itself
This commit is contained in:
parent
e43f6592a5
commit
0958a8c272
1 changed files with 0 additions and 4 deletions
|
|
@ -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") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue