???
This commit is contained in:
parent
32d411c8b2
commit
b9fd279b9a
2
main.js
2
main.js
@ -366,7 +366,7 @@ client.login("m.login.password", {"user": settings.matrixuser, "password": setti
|
||||
}
|
||||
return;
|
||||
}
|
||||
const matches = room.name.match(/SMS_([1-9][0-9]+)_?([1-9][0-9]+)?/);
|
||||
const matches = room.name.match(/SMS_([1-9][0-9]+)_?([1-9][0-9]+)?/g);
|
||||
if (matches.length == 1) {
|
||||
var tel = matches[0];
|
||||
logger.info("Got message for " + tel + " from " + event.getSender() + ", relaying.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user