request device list on /list jid

This commit is contained in:
vanitasvitae 2017-04-23 23:46:44 +02:00
parent 0d927c973f
commit 04eb0f1d78
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -205,6 +205,7 @@ public class Main {
System.out.println(p.getFrom()+" "+omemoManager.resourceSupportsOmemo(p.getFrom().asDomainFullJidIfPossible())); System.out.println(p.getFrom()+" "+omemoManager.resourceSupportsOmemo(p.getFrom().asDomainFullJidIfPossible()));
} }
} catch (Exception e) {} } catch (Exception e) {}
omemoManager.requestDeviceListUpdateFor(jid);
CachedDeviceList list = store.loadCachedDeviceList(jid); CachedDeviceList list = store.loadCachedDeviceList(jid);
if(list == null) { if(list == null) {
list = new CachedDeviceList(); list = new CachedDeviceList();