squawk/qomemo/device_service.cpp
2021-05-13 17:54:37 +03:00

16 lines
411 B
C++

/*
* Created by victoria on 2021-05-12.
*/
#include "device_service.h"
#include "device.h"
QXmpp::Omemo::DeviceService::DeviceService(QObject *parent) : QObject(parent) {}
void QXmpp::Omemo::DeviceService::onDeviceListReceived(const QString &jid, const QXmpp::Omemo::DeviceList &list) {
for (const auto &device : list.devices) {
qInfo() << "Got device for" << jid << ":" << device.id;
}
}