setVerifiedUserCrossSigningKey method

  1. @override
Future<void> setVerifiedUserCrossSigningKey(
  1. bool verified,
  2. String userId,
  3. String publicKey
)
override

Implementation

@override
Future<void> setVerifiedUserCrossSigningKey(
    bool verified, String userId, String publicKey) async {
  final raw = (await _userCrossSigningKeysBox
          .get(TupleKey(userId, publicKey).toString())) ??
      {};
  raw['verified'] = verified;
  await _userCrossSigningKeysBox.put(
    TupleKey(userId, publicKey).toString(),
    raw,
  );
  return;
}