prevent recursion when migrating from old matrix account data format
This commit is contained in:
parent
6ab62e2eff
commit
6c2d90f8f8
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ class MatrixProfile {
|
|||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> json = {};
|
||||
for (final value in MatrixProfileEnum.values) {
|
||||
json[value.title] = getProfileData(value);
|
||||
json[value.title] = profile?[value.title];
|
||||
}
|
||||
return json;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue