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