import org.whispersystems.libsignal.IdentityKeyPair;
import org.whispersystems.libsignal.InvalidKeyException;
import org.whispersystems.libsignal.InvalidMessageException;
-import org.whispersystems.libsignal.InvalidVersionException;
import org.whispersystems.libsignal.ecc.ECPublicKey;
import org.whispersystems.libsignal.state.PreKeyRecord;
import org.whispersystems.libsignal.state.SignedPreKeyRecord;
new DynamicCredentialsProvider(account.getUuid(),
account.getUsername(),
account.getPassword(),
- account.getSignalingKey(),
account.getDeviceId()),
userAgent,
groupsV2Operations,
account.getUsername(),
account.getPassword(),
account.getDeviceId(),
- account.getSignalingKey(),
userAgent,
null,
timer,
}
public void updateAccountAttributes() throws IOException {
- accountManager.setAccountAttributes(account.getSignalingKey(),
+ accountManager.setAccountAttributes(null,
account.getSignalProtocolStore().getLocalRegistrationId(),
true,
// set legacy pin only if no KBS master key is set
} catch (TimeoutException e) {
if (returnOnTimeout) return;
continue;
- } catch (InvalidVersionException e) {
- logger.warn("Error while receiving messages, ignoring: {}", e.getMessage());
- continue;
}
if (envelope.hasSource()) {