2021-05-12 12:50:52 +00:00
|
|
|
/*
|
|
|
|
* Created by victoria on 2021-05-12.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "device_service.h"
|
2021-05-12 21:32:13 +00:00
|
|
|
#include "device.h"
|
2021-05-12 12:50:52 +00:00
|
|
|
|
2021-05-12 14:33:34 +00:00
|
|
|
QXmpp::Omemo::DeviceService::DeviceService(QObject *parent) : QObject(parent) {}
|
2021-05-12 12:50:52 +00:00
|
|
|
|
2021-05-13 14:54:37 +00:00
|
|
|
void QXmpp::Omemo::DeviceService::onDeviceListReceived(const QString &jid, const QXmpp::Omemo::DeviceList &list) {
|
2021-05-12 12:50:52 +00:00
|
|
|
|
2021-05-13 14:54:37 +00:00
|
|
|
for (const auto &device : list.devices) {
|
|
|
|
qInfo() << "Got device for" << jid << ":" << device.id;
|
|
|
|
}
|
2021-05-12 12:50:52 +00:00
|
|
|
}
|