fix: `getChatRoomInfo()` thrwos `LoadInProgressException` when loading
authorKai Moritz <kai@juplo.de>
Sat, 3 Feb 2024 16:25:45 +0000 (17:25 +0100)
committerKai Moritz <kai@juplo.de>
Sat, 3 Feb 2024 16:26:34 +0000 (17:26 +0100)
commit643552ccd8a18ffcac2c108a9cb4f88f6c70b19f
tree46b257586d2981a123e98904e926475e17e9fffd
parent2cae4b74931ce03f2dfe3fb621cf98f668bfbe4f
fix: `getChatRoomInfo()` thrwos `LoadInProgressException` when loading

- The method `InfoChannel.getChatRoomInfo(UUID)` has to check, if loading
  is in process.
- Otherwise, an existing chat-room might erronously not be found, if it is
  requested, while `InfoChannel` is loading, because it is not yet loaded.
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/InfoChannel.java