prevent crash when deleting account on servers that don't support omemo
This commit is contained in:
parent
a99d7a7400
commit
b135486bb4
|
@ -843,7 +843,8 @@ public class AxolotlService implements OnAdvancedStreamFeaturesLoaded {
|
|||
final String node = AxolotlService.PEP_BUNDLES + ":" + getOwnDeviceId();
|
||||
final IqPacket deleteBundleNode = mXmppConnectionService.getIqGenerator().deleteNode(node);
|
||||
mXmppConnectionService.sendIqPacket(account, deleteBundleNode, null);
|
||||
publishDeviceIdsAndRefineAccessModel(getOwnDeviceIds());
|
||||
final Set<Integer> ownDeviceIds = getOwnDeviceIds();
|
||||
publishDeviceIdsAndRefineAccessModel(ownDeviceIds == null ? Collections.emptySet() : ownDeviceIds);
|
||||
}
|
||||
|
||||
public List<Jid> getCryptoTargets(Conversation conversation) {
|
||||
|
|
Loading…
Reference in New Issue