From 2751015ab7da36ccdc56ffd32cadce63da0e189e Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Tue, 14 Jan 2020 15:15:59 +0000 Subject: [PATCH] [MatrixException] Fix list --- lib/src/utils/matrix_exception.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/utils/matrix_exception.dart b/lib/src/utils/matrix_exception.dart index 44f447e..53c8957 100644 --- a/lib/src/utils/matrix_exception.dart +++ b/lib/src/utils/matrix_exception.dart @@ -100,7 +100,7 @@ class MatrixException implements Exception { Map get authenticationParams => raw["params"]; /// Returns the list of already completed authentication flows from previous requests. - List get completedAuthenticationFlows => raw["completed"]; + List get completedAuthenticationFlows => List.from(raw["completed"]); } /// For each endpoint, a server offers one or more 'flows' that the client can use