Updated statuses accordingly with the recent Caya changes.
This commit is contained in:
parent
aa93e9ad96
commit
ee0669cfd1
|
@ -336,7 +336,7 @@ MSNP::Process(BMessage* msg)
|
|||
if (fLogged)
|
||||
fMainConnection->setState(MSN::STATUS_AWAY, fClientID);
|
||||
break;
|
||||
case CAYA_EXTENDED_AWAY:
|
||||
case CAYA_CUSTOM_STATUS:
|
||||
|
||||
break;
|
||||
case CAYA_DO_NOT_DISTURB:
|
||||
|
@ -1242,6 +1242,7 @@ void MSNP::buddyChangedPersonalInfo(MSN::NotificationServerConnection* conn, MSN
|
|||
BMessage msg(IM_MESSAGE);
|
||||
msg.AddInt32("im_what", what);
|
||||
msg.AddString("id", fromPassport.c_str());
|
||||
msg.AddString("protocol", kProtocolSignature);
|
||||
msg.AddString("message", pInfo.PSM.c_str());
|
||||
fServerMsgr->SendMessage(&msg);
|
||||
}
|
||||
|
|
|
@ -686,7 +686,7 @@ JabberHandler::_GlooxStatusToCaya(gloox::Presence::PresenceType type)
|
|||
case gloox::Presence::Away:
|
||||
return CAYA_AWAY;
|
||||
case gloox::Presence::XA:
|
||||
return CAYA_EXTENDED_AWAY;
|
||||
return CAYA_CUSTOM_STATUS;
|
||||
case gloox::Presence::DND:
|
||||
return CAYA_DO_NOT_DISTURB;
|
||||
case gloox::Presence::Unavailable:
|
||||
|
|
|
@ -188,7 +188,7 @@ Yahoo::Process(BMessage * msg)
|
|||
fYahoo->SetAway(YAHOO_STATUS_NOTATDESK, NULL);
|
||||
}
|
||||
break;
|
||||
case CAYA_EXTENDED_AWAY:
|
||||
case CAYA_CUSTOM_STATUS:
|
||||
|
||||
break;
|
||||
case CAYA_DO_NOT_DISTURB:
|
||||
|
|
Ŝarĝante…
Reference in New Issue