#include <device-list-tracker.hpp>
◆ DeviceMapT
◆ addDevice()
◆ devicesFor()
auto Kazv::DeviceListTracker::devicesFor |
( |
std::string |
userId | ) |
const |
◆ diff()
immer::flex_vector< std::string > Kazv::DeviceListTracker::diff |
( |
DeviceListTracker |
that | ) |
const |
returns a list of users whose device list has changed
◆ findByCurve25519Key()
std::optional< DeviceKeyInfo > Kazv::DeviceListTracker::findByCurve25519Key |
( |
std::string |
userId, |
|
|
std::string |
curve25519Key |
|
) |
| const |
◆ findByEd25519Key()
std::optional< DeviceKeyInfo > Kazv::DeviceListTracker::findByEd25519Key |
( |
std::string |
userId, |
|
|
std::string |
ed25519Key |
|
) |
| const |
◆ get()
std::optional< DeviceKeyInfo > Kazv::DeviceListTracker::get |
( |
std::string |
userId, |
|
|
std::string |
deviceId |
|
) |
| const |
◆ markUpToDate()
void Kazv::DeviceListTracker::markUpToDate |
( |
std::string |
userId | ) |
|
◆ outdatedUsers()
immer::flex_vector< std::string > Kazv::DeviceListTracker::outdatedUsers |
( |
| ) |
const |
◆ track()
template<class RangeT >
void Kazv::DeviceListTracker::track |
( |
RangeT && |
userIds | ) |
|
|
inline |
◆ untrack()
template<class RangeT >
void Kazv::DeviceListTracker::untrack |
( |
RangeT && |
userIds | ) |
|
|
inline |
◆ deviceLists
immer::map<std::string , DeviceMapT> Kazv::DeviceListTracker::deviceLists |
◆ usersToTrackDeviceLists
immer::map<std::string , bool > Kazv::DeviceListTracker::usersToTrackDeviceLists |
The documentation for this struct was generated from the following files: