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;
|
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