fetchDeviceList method
- String jid
For usage with omemo_dart's OmemoManager
Implementation
Future<List<int>?> fetchDeviceList(String jid) async {
final result = await getDeviceList(JID.fromString(jid));
if (result.isType<OmemoError>()) return null;
return result.get<List<int>>();
}