check that pq last-resort prekeys, if submitted, match device list
This commit is contained in:
parent
ca05753a3e
commit
7237ae6c54
|
@ -434,11 +434,13 @@ public class AccountsManager {
|
||||||
Collections.emptySet());
|
Collections.emptySet());
|
||||||
|
|
||||||
// Check that all including master ID are in Pq pre-keys
|
// Check that all including master ID are in Pq pre-keys
|
||||||
DestinationDeviceValidator.validateCompleteDeviceList(
|
if (pniPqLastResortPreKeys != null) {
|
||||||
account,
|
DestinationDeviceValidator.validateCompleteDeviceList(
|
||||||
pniSignedPreKeys.keySet(),
|
account,
|
||||||
Collections.emptySet());
|
pniPqLastResortPreKeys.keySet(),
|
||||||
|
Collections.emptySet());
|
||||||
|
}
|
||||||
|
|
||||||
// Check that all devices are accounted for in the map of new PNI registration IDs
|
// Check that all devices are accounted for in the map of new PNI registration IDs
|
||||||
DestinationDeviceValidator.validateCompleteDeviceList(
|
DestinationDeviceValidator.validateCompleteDeviceList(
|
||||||
account,
|
account,
|
||||||
|
|
Loading…
Reference in New Issue