feat: omemo signal lib wip
This commit is contained in:
parent
08fe37bfb2
commit
442ad37300
34 changed files with 745 additions and 262 deletions
|
@ -15,9 +15,18 @@ namespace QXmpp::Omemo::Variant {
|
|||
QXmppElement deviceToXml(const Device &device) override;
|
||||
Device deviceFromXml(const QXmppElement &xml) override;
|
||||
|
||||
[[nodiscard]] QString getDeviceListNode() const override;
|
||||
QXmppElement deviceListToXml(const DeviceList &deviceList) override;
|
||||
DeviceList deviceListFromXml(const QXmppElement &xml) override;
|
||||
std::optional<DeviceList> latestDeviceListFromPubSubNode(const QXmppElement &items) override;
|
||||
QXmppIq deviceListSetIq(const DeviceList &deviceList) override;
|
||||
|
||||
QXmppElement preKeyToXml(const PreKey &pk) override;
|
||||
std::optional<PreKey> preKeyFromXml(const QXmppElement &xml) override;
|
||||
|
||||
QXmppElement bundleToXml(const Bundle &bundle) override;
|
||||
std::optional<Bundle> bundleFromXml(const QXmppElement &xml) override;
|
||||
|
||||
QXmppIq bundleSetIq(int deviceId, const Bundle &bundle) override;
|
||||
};
|
||||
|
||||
} // namespace QXmpp::Omemo::Variant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue