beginning of keys setting

This commit is contained in:
Blue 2023-11-16 21:08:40 -03:00
parent 75554c7451
commit 8f5325b291
Signed by: blue
GPG key ID: 9B203B252A63EE38
11 changed files with 385 additions and 323 deletions

View file

@ -806,6 +806,14 @@ void Core::Account::updateInfo(const Shared::Info& info) {
//TODO switch case of what kind of entity this info update is about
//right now it could be only about myself
vh->uploadVCard(info.getVCardRef());
const std::list<Shared::KeyInfo>& keys = info.getActiveKeysRef();
for (const Shared::KeyInfo& info : keys) {
qDebug() << "An attempt to save key: ";
qDebug() << "id:" << info.id;
qDebug() << "label:" << info.label;
qDebug() << "current device:" << info.currentDevice;
qDebug() << "... but it's not implemented yet, ignoring";
}
}
QString Core::Account::getAvatarPath() const {

View file

@ -67,11 +67,9 @@
#include "handlers/omemohandler.h"
#endif
namespace Core
{
namespace Core {
class Account : public QObject
{
class Account : public QObject {
Q_OBJECT
friend class MessageHandler;
friend class RosterHandler;

View file

@ -41,8 +41,6 @@
#include <core/delayManager/manager.h>
namespace Core {
class Account;
class RosterHandler : public QObject {