Use websocket for all chat service requests

This commit is contained in:
ayumi-signal 2024-11-12 11:43:02 -08:00 committed by GitHub
parent fbf39a36fb
commit b517bb817f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 24 additions and 71 deletions

View file

@ -1146,6 +1146,8 @@ export default class AccountManager extends EventTarget {
password,
});
await this.server.authenticate(storage.user.getWebAPICredentials());
// This needs to be done very early, because it changes how things are saved in the
// database. Your identity, for example, in the saveIdentityWithAttributes call
// below.