File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments