mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUAC-574: Update appropriate count - should be user here, not group.
This commit is contained in:
@@ -312,7 +312,7 @@ public class ActiveConnectionMap {
|
|||||||
* @param userID The user ID that this ConnectionUser refers to.
|
* @param userID The user ID that this ConnectionUser refers to.
|
||||||
*/
|
*/
|
||||||
private void incrementConnectionUserCount(int connectionID, int userID) {
|
private void incrementConnectionUserCount(int connectionID, int userID) {
|
||||||
int currentCount = getConnectionGroupUserCount(connectionID, userID);
|
int currentCount = getConnectionUserCount(connectionID, userID);
|
||||||
|
|
||||||
activeConnectionUserMap.put
|
activeConnectionUserMap.put
|
||||||
(new ConnectionUser(connectionID, userID), currentCount + 1);
|
(new ConnectionUser(connectionID, userID), currentCount + 1);
|
||||||
@@ -326,7 +326,7 @@ public class ActiveConnectionMap {
|
|||||||
* @param userID The user ID that this ConnectionUser refers to.
|
* @param userID The user ID that this ConnectionUser refers to.
|
||||||
*/
|
*/
|
||||||
private void decrementConnectionUserCount(int connectionID, int userID) {
|
private void decrementConnectionUserCount(int connectionID, int userID) {
|
||||||
int currentCount = getConnectionGroupUserCount(connectionID, userID);
|
int currentCount = getConnectionUserCount(connectionID, userID);
|
||||||
|
|
||||||
activeConnectionUserMap.put
|
activeConnectionUserMap.put
|
||||||
(new ConnectionUser(connectionID, userID), currentCount - 1);
|
(new ConnectionUser(connectionID, userID), currentCount - 1);
|
||||||
|
Reference in New Issue
Block a user