This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 23.21.150.121:3478 | |
| iphone-stun.strato-iphone.de:3478 | |
| numb.viagenie.ca:3478 | |
| s1.taraba.net:3478 | |
| s2.taraba.net:3478 | |
| stun.12connect.com:3478 | |
| stun.12voip.com:3478 | |
| stun.1und1.de:3478 | |
| stun.2talk.co.nz:3478 | |
| stun.2talk.com:3478 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //////// Send push notifications /////// | |
| Parse.Cloud.define("sendPush", async (request) => { | |
| var userQuery = new Parse.Query(Parse.User); | |
| userQuery.equalTo("objectId", request.params.receiverId); | |
| // Find devices associated with these users | |
| var pushQuery = new Parse.Query(Parse.Installation); | |
| pushQuery.matchesQuery('user', userQuery); |