You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resource tracking code in OutQueueConsumer doesn't seem to work. Nothing seems to be actually tracking resources so the onlineUsers map never seems to get populated with anything. It's causing me a problem with notifications to local admin users.
I guess we could safely get rid of that code now - specifically this bit:
// Get a list of 'online' resources for this JIDArrayList<JID> resources = onlineUsers.getResources(p.getTo());
logger.debug("There are " + resources.size() + " online resources for " + p.getTo());
for (JIDresource : resources) {
p.setTo(resource);
component.sendPacket(p.createCopy());
}
Happy to make the change myself, but thought I'd check there's no reason for it to still be in there.
The text was updated successfully, but these errors were encountered:
Ah, you're right. But it doesn't seem to be working - it's coming up as 0 resources for all the local users as far as I can tell. I'll do a bit more digging when I have a bit more spare time :)
The resource tracking code in
OutQueueConsumer
doesn't seem to work. Nothing seems to be actually tracking resources so theonlineUsers
map never seems to get populated with anything. It's causing me a problem with notifications to local admin users.I guess we could safely get rid of that code now - specifically this bit:
Happy to make the change myself, but thought I'd check there's no reason for it to still be in there.
The text was updated successfully, but these errors were encountered: