@elizaos/plugin-bootstrap 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -186,8 +186,7 @@ var choiceAction = {
186
186
  });
187
187
  const room = state.data.room ?? await runtime.getRoom(message.roomId);
188
188
  if (!room || !room.serverId) {
189
- logger.error("Room or room.serverId is missing");
190
- throw new Error("Room or room.serverId is required for validating the action");
189
+ return false;
191
190
  }
192
191
  const userRole = await getUserServerRole(runtime, message.entityId, room.serverId);
193
192
  if (userRole !== "OWNER" && userRole !== "ADMIN") {