beginning of keys setting
This commit is contained in:
parent
75554c7451
commit
8f5325b291
11 changed files with 385 additions and 323 deletions
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -41,8 +41,6 @@
|
|||
#include <core/delayManager/manager.h>
|
||||
|
||||
namespace Core {
|
||||
|
||||
|
||||
class Account;
|
||||
|
||||
class RosterHandler : public QObject {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue