Fix new Matrix user-requested SMS rooms not having correct tags/metadata
This commit is contained in:
parent
d6c829546a
commit
2791d9ce93
2
main.js
2
main.js
@ -352,7 +352,7 @@ client.login("m.login.password", {"user": settings.matrixuser, "password": setti
|
||||
}
|
||||
logger.info("Got request to start new SMS conversation with " + tel + " from " + event.getSender() + ".");
|
||||
sendMatrixNotice(event.getRoomId(), "Starting new conversation with " + tel);
|
||||
createOrJoinSMSRoom(tel, ournumber, function () {
|
||||
createOrJoinSMSRoom(tel, ournumber, function (roomid) {
|
||||
client.setRoomTag(roomid, "com.netsyms.matrix-bridge-voxtelesys.sms", {tel: tel, ournumber: ournumber});
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user