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:
@ -226,8 +226,8 @@ lock_chat() {
|
||||
echo -e "${RED}Chat existiert nicht!${NC}"
|
||||
read -p "Enter..." && return
|
||||
fi
|
||||
echo -e "\nBefehl: $NC_OCC talk:room:update $room_token --read-only=1"
|
||||
$NC_OCC talk:room:update "$room_token" --read-only=1 2>&1
|
||||
echo -e "\nBefehl: $NC_OCC talk:room:update $room_token --readonly=1"
|
||||
$NC_OCC talk:room:update "$room_token" --readonly=1 2>&1
|
||||
read -p "Enter..."
|
||||
}
|
||||
|
||||
@ -240,8 +240,8 @@ unlock_chat() {
|
||||
echo -e "${RED}Chat existiert nicht!${NC}"
|
||||
read -p "Enter..." && return
|
||||
fi
|
||||
echo -e "\nBefehl: $NC_OCC talk:room:update $room_token --read-only=0"
|
||||
$NC_OCC talk:room:update "$room_token" --read-only=0 2>&1
|
||||
echo -e "\nBefehl: $NC_OCC talk:room:update $room_token --readonly=0"
|
||||
$NC_OCC talk:room:update "$room_token" --readonly=0 2>&1
|
||||
read -p "Enter..."
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user