diff options
author | Tobias Fella <fella@posteo.de> | 2022-05-19 16:01:07 +0200 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2022-05-19 16:01:07 +0200 |
commit | 5df53b8d5c8b21228ecf9938330dd4d85d3de6af (patch) | |
tree | f6d147201d13885819d2c34462cf13f499fac944 | |
parent | 7a1283d2cc753781d4adbf4c69d3167651fce97b (diff) | |
download | libquotient-5df53b8d5c8b21228ecf9938330dd4d85d3de6af.tar.gz libquotient-5df53b8d5c8b21228ecf9938330dd4d85d3de6af.zip |
Document devices tuple
-rw-r--r-- | lib/database.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/database.h b/lib/database.h index ef251d66..45348c8d 100644 --- a/lib/database.h +++ b/lib/database.h @@ -46,6 +46,7 @@ public: // Returns a map UserId -> [DeviceId] that have not received key yet QHash<QString, QStringList> devicesWithoutKey(const QString& roomId, QHash<QString, QStringList>& devices, const QString &sessionId); + // 'devices' contains tuples {userId, deviceId, curveKey} void setDevicesReceivedKey(const QString& roomId, const QVector<std::tuple<QString, QString, QString>>& devices, const QString& sessionId, int index); private: |