uProxy-p2p
uProxy-p2p copied to clipboard
Number of users you're giving access to is not updated correctly.
The numGivingAccessTo variable in src/generic_ui/scripts/ui.ts counts the number of instances for a single user you are giving access to and not the number of users in a roster you are giving access to.
Our current thought on how to fix this is to maintain a set in ui.ts of instances you are proxying to. When syncUser is called, check for changes to instances of that user and update the set appropriately. The numGivingAccessTo would then be the size of this set.
Done with https://github.com/uProxy/uproxy/pull/492