Skip to content

Commit cf73c53

Browse files
author
Mark Lewin
authored
Improve comments in sendSMS()
1 parent 1a74e0d commit cf73c53

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

SmsProxy.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ class SmsProxy {
2323
}
2424

2525
sendSMS() {
26-
/* Send UserA chat information
27-
from the virtual number
28-
to UserA's real number */
29-
this.nexmo.message.sendSms(this.chat.userB,
30-
process.env.VIRTUAL_NUMBER,
31-
'Reply to this SMS to talk to UserB');
32-
33-
/* Send UserB chat information
34-
from the virtual number
35-
to UserB's real number */
26+
/*
27+
Send a message from userA to the virtual number
28+
*/
3629
this.nexmo.message.sendSms(this.chat.userA,
37-
process.env.VIRTUAL_NUMBER,
38-
'Reply to this SMS to talk to UserA');
30+
process.env.VIRTUAL_NUMBER,
31+
'Reply to this SMS to talk to UserA');
32+
33+
/*
34+
Send a message from userB to the virtual number
35+
*/
36+
this.nexmo.message.sendSms(this.chat.userB,
37+
process.env.VIRTUAL_NUMBER,
38+
'Reply to this SMS to talk to UserB');
3939
}
4040

4141

0 commit comments

Comments
 (0)