-
Bug
-
Resolution: Fixed
-
Low
-
HCS 2.2.4
-
None
-
Severity 3 - Minor
This bug is very similar to HCPUB-3432
Summary
After adding a user to a private room via Add member, it can take the room up to 5 minutes to be visible in the room list in some environments.
In other environments, the room will never be visible in the room list.
Environment
HipChat Server 2.2.4
HipChat Data Center 3.0.1
Steps to Reproduce
- Login with a user to HipChat
- Add the user to a private room by running:
curl -XPUT https://${FQDN}/v2/room/${ROOM_ID}/member/${USER_ID}?auth_token=${TOKEN}
- Search for the room in the client
Expected Results
Room should come up since the user was added to it as if the action was done from the client.
Actual Results
Room doesn't come up in the room list, although the room membership is saved immediately to the database.
Notes
It seems that the client periodically runs a refresh that updates the membership of the user in the client based on the the server values.
Workaround
- The room list will be updated if you refresh the web client or logout/login of the desktop client.
OR - Use Invite user by POST ing to the /v2/room/$room_id/invite/$user_id endpoint.
OR - Account for the delay when relying on this API endpoint.
- was cloned as
-
HCPUB-16464 Room is not immediately accessible/visible after adding user to it via the API
- Closed