Index: sources/cloudsync/CloudSyncController.cpp =================================================================== diff -u -r15dffa44e42fe108caa6dd0dfbe659b192ee5323 -r656094cd72dfcb6cec410b8e36570abf5c9d6975 --- sources/cloudsync/CloudSyncController.cpp (.../CloudSyncController.cpp) (revision 15dffa44e42fe108caa6dd0dfbe659b192ee5323) +++ sources/cloudsync/CloudSyncController.cpp (.../CloudSyncController.cpp) (revision 656094cd72dfcb6cec410b8e36570abf5c9d6975) @@ -722,8 +722,8 @@ QVariantList args ; Errors_Enum error = eError_Unknown; qint32 messageID = UI2CS(static_cast( eMessageID_TxReport )); - - if ( ! isRegistered() ) { error = eError_NotRegistered ; args = { vFileName }; ok = false; goto lErr; } + // DEBUG ok = false; // using the ok bool which is true as the debug flag to bypass the registration on debug testing. + if ( ok && ! isRegistered() ) { error = eError_NotRegistered ; args = { vFileName }; ok = false; goto lErr; } sendUIBuff(makeUIBuff( messageID , { vFileName } )); return; @@ -744,7 +744,7 @@ */ bool CloudSyncController::sendMessage(const Message &vMessage) { bool ok = false; - + //DEBUG qDebug() << Q_FUNC_INFO << vMessage.id; // this function is used in sendUIResponse, therefore the message IDs which are responses should be implemented here. switch (vMessage.id) { case eMessageID_DeviceRegister : /* No Request/Response */ break; @@ -900,8 +900,8 @@ mTxCode = vMessage.params[0].trimmed(); if ( mTxCode.isEmpty() ) { toLog(eError_TxCodeEmpty , {}); ok = false; goto lOut; } - emit didTxCodeReceive ( mTxCode ); //DEBUG qDebug() << " ---------- " << mTxCode; + emit didTxCodeReceive ( mTxCode ); lOut: return ok;