From fe719366ecfdb9555b15243a1fc4000830b3c56f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 7 Sep 2017 17:56:31 +0200 Subject: [PATCH] Spacing issue --- scripts/patrix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/patrix b/scripts/patrix index fd5f203..6557a58 100644 --- a/scripts/patrix +++ b/scripts/patrix @@ -280,9 +280,9 @@ sub create_room { my $uri = $opt->{server} . '/_matrix/client/r0/createRoom?access_token=' . $opt->{access_token}; my $req = HTTP::Request->new( 'POST', $uri ); my $json = {}; - $json->{room_alias_name} = $opt->{alias} if $opt->{alias}; - $json->{topic} = $opt->{topic} if $opt->{topic}; - $json->{name} = $opt->{name} if $opt->{name}; + $json->{room_alias_name} = $opt->{alias} if $opt->{alias}; + $json->{topic} = $opt->{topic} if $opt->{topic}; + $json->{name} = $opt->{name} if $opt->{name}; $json->{invite} = $opt->{invite} if $opt->{invite}; $req->header( 'Content-Type' => 'application/json' ); $req->content( to_json($json) );