storeInboundGroupSession method

  1. @override
Future<void> storeInboundGroupSession(
  1. String roomId,
  2. String sessionId,
  3. String pickle,
  4. String content,
  5. String indexes,
  6. String allowedAtIndex,
  7. String senderKey,
  8. String senderClaimedKey,
)
override

Implementation

@override
Future<void> storeInboundGroupSession(
    String roomId,
    String sessionId,
    String pickle,
    String content,
    String indexes,
    String allowedAtIndex,
    String senderKey,
    String senderClaimedKey) async {
  await _inboundGroupSessionsBox.put(
      sessionId,
      StoredInboundGroupSession(
        roomId: roomId,
        sessionId: sessionId,
        pickle: pickle,
        content: content,
        indexes: indexes,
        allowedAtIndex: allowedAtIndex,
        senderKey: senderKey,
        senderClaimedKeys: senderClaimedKey,
        uploaded: false,
      ).toJson());
  return;
}