libQuotient
A Qt library for building matrix clients
|
#include <keys.h>
Public Attributes | |
QHash< QString, QJsonObject > | failures {} |
QHash< UserId, QHash< QString, OneTimeKeys > > | oneTimeKeys {} |
QHash<QString, QJsonObject> Quotient::ClaimKeysJob::Response::failures {} |
If any remote homeservers could not be reached, they are recorded here. The names of the properties are the names of the unreachable servers.
If the homeserver could be reached, but the user or device was unknown, no failure is recorded. Instead, the corresponding user or device is missing from the one_time_keys
result.
QHash<UserId, QHash<QString, OneTimeKeys> > Quotient::ClaimKeysJob::Response::oneTimeKeys {} |
One-time keys for the queried devices. A map from user ID, to a map from devices to a map from <algorithm>:<key_id>
to the key object.
See the key algorithms section for information on the Key Object format.
If necessary, the claimed key might be a fallback key. Fallback keys are re-used by the server until replaced by the device.