markInboundGroupSessionsAsNeedingUpload method

  1. @override
Future<void> markInboundGroupSessionsAsNeedingUpload()
override

Implementation

@override
Future<void> markInboundGroupSessionsAsNeedingUpload() async {
  final keys = await _inboundGroupSessionsBox.getAllKeys();
  for (final sessionId in keys) {
    final raw = await _inboundGroupSessionsBox.get(sessionId);
    if (raw == null) continue;
    raw['uploaded'] = false;
    await _inboundGroupSessionsBox.put(sessionId, raw);
  }
  return;
}