Skip to content
Snippets Groups Projects
Commit 7ab2ded3 authored by Stepan Salenikovich's avatar Stepan Salenikovich
Browse files

registered name: don't log lookup success


Only log registered name lookup failures, to reduce log spam.

Change-Id: I4fa65294942a082177587841c91ed89f12acff18
Reviewed-by: default avatarKateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
parent f1f272a4
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,19 @@ void NameDirectoryPrivate::slotNameRegistrationEnded(const QString& accountId, i
//Registered Name found
void NameDirectoryPrivate::slotRegisteredNameFound(const QString& accountId, int status, const QString& address, const QString& name)
{
qDebug() << "Registered Name found. Account:" << accountId << "status:" << status << "name:" << name;
switch (static_cast<NameDirectory::LookupStatus>(status)) {
case NameDirectory::LookupStatus::INVALID_NAME:
qDebug() << "lookup name is INVALID:" << name << accountId;
break;
case NameDirectory::LookupStatus::NOT_FOUND:
qDebug() << "lookup name NOT FOUND:" << name << accountId;
break;
case NameDirectory::LookupStatus::ERROR:
qDebug() << "lookup name ERROR:" << name << accountId;
break;
case NameDirectory::LookupStatus::SUCCESS:
break;
}
Account* account = AccountModel::instance().getById(accountId.toLatin1());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment