updateInboundGroupSessionIndexes method
Implementation
@override
Future<void> updateInboundGroupSessionIndexes(
String indexes, String roomId, String sessionId) async {
final raw = await _inboundGroupSessionsBox.get(sessionId.toHiveKey);
if (raw == null) {
Logs().w(
'Tried to update inbound group session indexes of a session which was not found in the database!');
return;
}
raw['indexes'] = indexes;
await _inboundGroupSessionsBox.put(sessionId.toHiveKey, raw);
return;
}