FIX: Korrigierte talk:room:update Parameter von --read-only zu --readonly

- lock_chat: --readonly=1 statt --read-only=1
- unlock_chat: --readonly=0 statt --read-only=0

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
wralto-user-1
2026-10-31 13:47:23 +01:00
parent 851adf78df
commit 05d7669d33

View File

@ -226,8 +226,8 @@ lock_chat() {
echo -e "${RED}Chat existiert nicht!${NC}" echo -e "${RED}Chat existiert nicht!${NC}"
read -p "Enter..." && return read -p "Enter..." && return
fi fi
echo -e "\nBefehl: $NC_OCC talk:room:update $room_token --read-only=1" echo -e "\nBefehl: $NC_OCC talk:room:update $room_token --readonly=1"
$NC_OCC talk:room:update "$room_token" --read-only=1 2>&1 $NC_OCC talk:room:update "$room_token" --readonly=1 2>&1
read -p "Enter..." read -p "Enter..."
} }
@ -240,8 +240,8 @@ unlock_chat() {
echo -e "${RED}Chat existiert nicht!${NC}" echo -e "${RED}Chat existiert nicht!${NC}"
read -p "Enter..." && return read -p "Enter..." && return
fi fi
echo -e "\nBefehl: $NC_OCC talk:room:update $room_token --read-only=0" echo -e "\nBefehl: $NC_OCC talk:room:update $room_token --readonly=0"
$NC_OCC talk:room:update "$room_token" --read-only=0 2>&1 $NC_OCC talk:room:update "$room_token" --readonly=0 2>&1
read -p "Enter..." read -p "Enter..."
} }