fix: no empty server_name parameter

This commit is contained in:
Lukas Lihotzki 2021-03-31 18:33:59 +02:00
parent af70aee537
commit 924af98f30
1 changed files with 1 additions and 1 deletions

View File

@ -969,7 +969,7 @@ class MatrixApi {
final response = await request(
RequestType.POST,
'/client/r0/join/${Uri.encodeComponent(roomIdOrAlias)}',
query: {'server_name': servers},
query: {'server_name': servers ?? []},
data: {
if (thirdPidSignedSiganture != null)
'third_party_signed': {