1 diff -Naur old/lib/crypto/client.cpp c5pf6ygk9v9rdwwr3dyd24wghflp0vmx-source/lib/crypto/client.cpp
2 --- old/lib/crypto/client.cpp 2021-10-22 19:31:52.159836190 +0300
3 +++ c5pf6ygk9v9rdwwr3dyd24wghflp0vmx-source/lib/crypto/client.cpp 2021-10-22 19:30:42.882010441 +0300
9 +mtx::crypto::OlmErrorCode
10 olm_exception::ec_from_string(std::string_view error)
12 for (size_t i = 0; i < olmErrorStrings.size(); i++) {
13 if (olmErrorStrings[i] == error)
14 - return static_cast<OlmErrorCode>(i);
15 + return static_cast<mtx::crypto::OlmErrorCode>(i);
18 - return OlmErrorCode::UNKNOWN_ERROR;
19 + return mtx::crypto::OlmErrorCode::UNKNOWN_ERROR;