fix: no empty server_name parameter
This commit is contained in:
parent
af70aee537
commit
924af98f30
|
|
@ -969,7 +969,7 @@ class MatrixApi {
|
||||||
final response = await request(
|
final response = await request(
|
||||||
RequestType.POST,
|
RequestType.POST,
|
||||||
'/client/r0/join/${Uri.encodeComponent(roomIdOrAlias)}',
|
'/client/r0/join/${Uri.encodeComponent(roomIdOrAlias)}',
|
||||||
query: {'server_name': servers},
|
query: {'server_name': servers ?? []},
|
||||||
data: {
|
data: {
|
||||||
if (thirdPidSignedSiganture != null)
|
if (thirdPidSignedSiganture != null)
|
||||||
'third_party_signed': {
|
'third_party_signed': {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue