Change summary
src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java | 3
1 file changed, 2 insertions(+), 1 deletion(-)
Detailed changes
@@ -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) {