fetchDeviceBundle method
For usage with omemo_dart's OmemoManager
Implementation
Future<omemo.OmemoBundle?> fetchDeviceBundle(String jid, int id) async {
final result = await retrieveDeviceBundle(JID.fromString(jid), id);
if (result.isType<OmemoError>()) return null;
return result.get<omemo.OmemoBundle>();
}