Fix phone number format
This commit is contained in:
parent
25a7d70c07
commit
261841b19f
2
main.js
2
main.js
@ -136,7 +136,7 @@ function createOrJoinSMSRoom(tel, ournumber, callback) {
|
||||
room_alias_name: "SMS_" + tel + "_" + ournumber,
|
||||
visibility: "private",
|
||||
invite: settings.inviteusers,
|
||||
name: formatPhoneNumber(tel, "1 (NNN) NNN-NNNN"),
|
||||
name: formatPhoneNumber(tel, "(NNN) NNN-NNNN"),
|
||||
topic: "SMS conversation with " + tel + " (using " + ournumber + ")"
|
||||
}).then((room) => {
|
||||
logger.debug("Room" + roomName + " created with ID " + room.room_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user