refactor: DRY for computation of new `ChatRoomData` instances