fix: Add missing copy json in updateInboundGroupdSessionAllowedAtIndex method
This commit is contained in:
parent
91677a691e
commit
c6ff6ebc76
|
|
@ -1511,8 +1511,9 @@ class MatrixSdkDatabase extends DatabaseApi with DatabaseFileStorage {
|
|||
);
|
||||
return;
|
||||
}
|
||||
raw['allowed_at_index'] = allowedAtIndex;
|
||||
await _inboundGroupSessionsBox.put(sessionId, raw);
|
||||
final json = copyMap(raw);
|
||||
json['allowed_at_index'] = allowedAtIndex;
|
||||
await _inboundGroupSessionsBox.put(sessionId, json);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue