Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PATCH: setRoomAvatar saves the new etag immediately
I see no reason for us to delay updating room's avatar data for some arbitrary duration (500 ms). Note that unlike with the `users.setAvatar` API patch, we do NOT return the new avatarETag in the `rooms.saveRoomSettings` API response, since that would require too many changes to the code flow and its type-scripting. For now, SAPI will have to re-fetch the room object and hope that there are no race conditions!
- Loading branch information