cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
439
Views
0
Helpful
0
Replies

JabberWerx - getGroups() always returns empty array

drewfleming
Level 1
Level 1

var jid = new jabberwerx.JID('valid@email.com');

var entityCache = new jabberwerx.ClientEntityCache();

var entity = entityCache.entity(jid);

if (!entity) {

     entity = new jabberwerx.TemporaryEntity(jid);

     entity.cache = entityCache;

}

After this code reaches the end of this block, entity is not null. The user I set has groups assigned in the messenger admin tool, but entity.getGroups() always returns an empty array. What am I missing here?

0 Replies 0