mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +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. | ||||
|      */ | ||||
|     private void incrementConnectionUserCount(int connectionID, int userID) { | ||||
|         int currentCount = getConnectionGroupUserCount(connectionID, userID); | ||||
|         int currentCount = getConnectionUserCount(connectionID, userID); | ||||
|          | ||||
|         activeConnectionUserMap.put | ||||
|                 (new ConnectionUser(connectionID, userID), currentCount + 1); | ||||
| @@ -326,7 +326,7 @@ public class ActiveConnectionMap { | ||||
|      * @param userID The user ID that this ConnectionUser refers to. | ||||
|      */ | ||||
|     private void decrementConnectionUserCount(int connectionID, int userID) { | ||||
|         int currentCount = getConnectionGroupUserCount(connectionID, userID); | ||||
|         int currentCount = getConnectionUserCount(connectionID, userID); | ||||
|          | ||||
|         activeConnectionUserMap.put | ||||
|                 (new ConnectionUser(connectionID, userID), currentCount - 1); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user