1
0
mirror of https://github.com/dani/patrix.git synced 2024-06-26 17:43:30 +02:00

federation option isn't used anymore (for now)

This commit is contained in:
Daniel Berteaud 2017-09-24 11:40:12 +02:00
parent db6eef6836
commit 34db17e370

View File

@ -110,7 +110,6 @@ if ($opt->{action} =~ m/^(remove|delete|del)\-room\-alias$/ and !$opt->{alias}){
# Set defaults # Set defaults
sub set_defaults { sub set_defaults {
$opt->{action} //= 'send-msg'; $opt->{action} //= 'send-msg';
$opt->{federation} //= 1;
$opt->{server} = 'https://' . $opt->{server} unless ($opt->{server} =~ m|https?://|); $opt->{server} = 'https://' . $opt->{server} unless ($opt->{server} =~ m|https?://|);
} }