Merge pull request #2090 from famedly/krille/add-missing-copy-map-in-database
fix: Add missing copy json in updateInboundGroupdSessionAllowedAtInde…
This commit is contained in:
commit
aba37559f9
|
|
@ -1511,8 +1511,9 @@ class MatrixSdkDatabase extends DatabaseApi with DatabaseFileStorage {
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
raw['allowed_at_index'] = allowedAtIndex;
|
final json = copyMap(raw);
|
||||||
await _inboundGroupSessionsBox.put(sessionId, raw);
|
json['allowed_at_index'] = allowedAtIndex;
|
||||||
|
await _inboundGroupSessionsBox.put(sessionId, json);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue