mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-22 09:28:14 +01:00
Refactor api.js into web_api, which encapsulates all web access
This commit is contained in:
@@ -140,7 +140,7 @@ Message.prototype = {
|
||||
};
|
||||
|
||||
function MessageSender(url, username, password, cdn_url) {
|
||||
this.server = new TextSecureServer(url, username, password, cdn_url);
|
||||
this.server = WebAPI.connect({ username, password });
|
||||
this.pendingMessages = {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user