void OscarConnection::finishLogin() { setState(Connected); sendUserInfo(true); m_is_idle = true; setIdle(false); SNAC snac(ServiceFamily, ServiceClientReady); // imitate ICQ 6 behaviour snac.append(QByteArray::fromHex( "0022 0001 0110 164f" "0001 0004 0110 164f" "0013 0004 0110 164f" "0002 0001 0110 164f" "0003 0001 0110 164f" "0015 0001 0110 164f" "0004 0001 0110 164f" "0006 0001 0110 164f" "0009 0001 0110 164f" "000a 0001 0110 164f" "000b 0001 0110 164f")); send(snac); m_account->finishLogin(); if (m_account->d_func()->name.isEmpty()) { ShortInfoMetaRequest *req = new ShortInfoMetaRequest(m_account); // Requesting own information. connect(req, SIGNAL(done(bool)), this, SLOT(accountInfoReceived(bool))); req->send(); }
void UserInputServer::ansUserInfo(BlockingGate *backGate) { StringStorage desktopName, userName; m_userInput->getCurrentUserInfo(&desktopName, &userName); sendUserInfo(&desktopName, &userName, backGate); }