diff --git a/scripts/patrix b/scripts/patrix index 1dc3598..3e043e8 100644 --- a/scripts/patrix +++ b/scripts/patrix @@ -30,8 +30,6 @@ GetOptions( "name=s" => \$opt->{name}, "alias=s" => \$opt->{alias}, "topic=s" => \$opt->{topic}, - "preset=s" => \$opt->{preset}, - "visibility=s" => \$opt->{visibility}, "federation!" => \$opt->{federation} ); @@ -288,8 +286,6 @@ sub create_room { $json->{topic} = $opt->{topic} if $opt->{topic}; $json->{name} = $opt->{name} if $opt->{name}; $json->{invite} = $opt->{invite} if $opt->{invite}; - $json->{preset} = $opt->{preset} if $opt->{preset}; - $json->{visibility} = $opt->{visibility} if $opt->{visbility}; $json->{creation_content}->{'m.federate'} = $opt->{federation}; $req->header( 'Content-Type' => 'application/json' ); $req->content( to_json($json) );