MessageReceiver accepts a server websocket url
// FREEBIE
This commit is contained in:
parent
fd5b0aeb85
commit
1f8856fa69
5 changed files with 30 additions and 42 deletions
|
@ -60,7 +60,7 @@
|
|||
if (!textsecure.registration.isDone()) { return; }
|
||||
|
||||
// initialize the socket and start listening for messages
|
||||
messageReceiver = new textsecure.MessageReceiver(window);
|
||||
messageReceiver = new textsecure.MessageReceiver('wss://textsecure-service-staging.whispersystems.org', window);
|
||||
}
|
||||
|
||||
function onContactReceived(ev) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue