Show AccountData in Devtools
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "neochatconnection.h"
|
||||
|
||||
#include <QImageReader>
|
||||
#include <QJsonDocument>
|
||||
|
||||
#include "controller.h"
|
||||
#include "jobs/neochatchangepasswordjob.h"
|
||||
@@ -434,4 +435,9 @@ void NeoChatConnection::setIsOnline(bool isOnline)
|
||||
Q_EMIT isOnlineChanged();
|
||||
}
|
||||
|
||||
QString NeoChatConnection::accountDataJsonString(const QString &type) const
|
||||
{
|
||||
return QString::fromUtf8(QJsonDocument(accountDataJson(type)).toJson());
|
||||
}
|
||||
|
||||
#include "moc_neochatconnection.cpp"
|
||||
|
||||
Reference in New Issue
Block a user