uProxy-p2p icon indicating copy to clipboard operation
uProxy-p2p copied to clipboard

Number of users you're giving access to is not updated correctly.

Open lucyhe opened this issue 12 years ago • 2 comments

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.

lucyhe avatar Oct 20 '14 22:10 lucyhe

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.

lucyhe avatar Oct 20 '14 22:10 lucyhe

Done with https://github.com/uProxy/uproxy/pull/492

lucyhe avatar Oct 29 '14 14:10 lucyhe