Clarify error in takedown command while fetching room details.

This commit is contained in:
gnuxie
2025-03-22 13:46:05 +00:00
parent 27142cf722
commit d8dc0facdf
+5 -3
View File
@@ -80,10 +80,12 @@ function handleRoomDiscovery(
);
}
if (detailsResult.ok.creator === undefined) {
log.debug("Broken details", detailsResult.ok);
return ResultError.Result(
`No creator was provided so we cannot store the details for this room ${roomID}`
log.warn(
"No creator was provided in the details for the room, so we cannot store them",
roomID,
detailsResult.ok
);
return Ok(undefined);
}
return await store.storeRoomIdentification({
roomID,