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);
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, raw);
return;
}