cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Please note that Remote Expert Mobile announced end-of-life and support will end on February 28, 2022.
167
Views
0
Helpful
0
Replies
Highlighted
Beginner

JabberWerx - getGroups() always returns empty array

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?

Everyone's tags (2)
CreatePlease to create content
Content for Community-Ad
FusionCharts will render here