update function call
This commit is contained in:
parent
b109e75962
commit
fb48837d08
|
@ -462,8 +462,8 @@ class OlmManager {
|
||||||
if (client.database != null) {
|
if (client.database != null) {
|
||||||
for (final device in deviceKeys) {
|
for (final device in deviceKeys) {
|
||||||
if (!olmSessions.containsKey(device.curve25519Key)) {
|
if (!olmSessions.containsKey(device.curve25519Key)) {
|
||||||
final sessions = await client.database.getSingleOlmSessions(
|
final sessions =
|
||||||
client.id, device.curve25519Key, client.userID);
|
await getOlmSessionsFromDatabase(device.curve25519Key);
|
||||||
if (sessions.isNotEmpty) {
|
if (sessions.isNotEmpty) {
|
||||||
_olmSessions[device.curve25519Key] = sessions;
|
_olmSessions[device.curve25519Key] = sessions;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue