Some issue with UserProfile

This commit is contained in:
CH Chethan Reddy 2020-07-01 17:47:10 +05:30
parent 6fae36abc4
commit ac1fbbb69f
10 changed files with 154 additions and 115 deletions

View file

@ -68,8 +68,6 @@ struct OlmSessionStorage
struct UserCache
{
//! user_id of the user
std::string user_id;
//! this stores if the user is verified (with cross-signing)
bool is_user_verified = false;
//! list of verified device_ids with cross-signing
@ -85,10 +83,9 @@ from_json(const nlohmann::json &j, UserCache &info);
struct DeviceVerifiedCache
{
//! user_id of the user
std::string user_id;
//! list of verified device_ids with device-verification
std::vector<std::string> device_verified;
std::vector<std::string> device_blocked;
};
void