void QuetzalAccount::handleSignedOff() { Status oldStatus = status(); Account::setStatus(Status(Status::Offline)); resetGroupChatManager(0); foreach (QuetzalContact *contact, m_contacts) { if (contact->purple()) contact->update(contact->purple()); } }
void IrcAccount::doDisconnectFromServer() { d->conn->disconnectFromHost(false); resetGroupChatManager(); }
void QuetzalAccount::handleSignedOn() { setStatusChanged(purple_account_get_active_status(m_account)); if (PURPLE_PLUGIN_PROTOCOL_INFO(m_account->gc->prpl)->chat_info) resetGroupChatManager(new QuetzalJoinChatManager(this)); }