From 299fd790feaec9e9175e29d5884591e7b054efd7 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sat, 9 Sep 2017 16:42:46 +0200 Subject: [PATCH] Remove preset and visibility options --- scripts/patrix | 4 ---- 1 file changed, 4 deletions(-) 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) );