Run this code in `keyserver-connection-handler`:
```
const devices = await identityClient?.getOutboundKeysForUser(
'3CF3B2B6-FE28-4475-8CB3-68609A246D06', //3CF3B2B6-FE28-4475-8CB3-68609A246D06
);
console.log('Keys: ', devices);
for (const deviceKeys of devices) {
if (!deviceKeys.keys) {
console.log(`No keys for device: ${deviceKeys.deviceID}`);
continue;
}
try {
const initMessage =
await olmSessionCreatorContext.contentSessionCreator(
deviceKeys.keys.identityKeysBlob.primaryIdentityPublicKeys,
deviceKeys.keys.contentInitializationInfo,
);
console.log(
`Session with device ${deviceKeys.deviceID} created: ${initMessage}`,
);
} catch (e) {
console.log(
`Session with device ${deviceKeys.deviceID} creation error: ${e.message}`,
);
}
}
```
(if someone want to also test it please use different `deviceID`)