示例#1
0
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());
	}
}
示例#2
0
void IrcAccount::doDisconnectFromServer()
{
	d->conn->disconnectFromHost(false);
	resetGroupChatManager();
}
示例#3
0
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));
}