Fixed a AIM plugin build error introduced in recent revs.

This commit is contained in:
barrett 2012-05-15 19:28:56 +00:00
parent 2ed795031f
commit 088a1bb5f5
2 changed files with 4 additions and 4 deletions

View File

@ -16,12 +16,12 @@
#include "CayaConstants.h"
#include "CayaResources.h"
class BPopUpMenu;
class BMenuField;
class BitmapView;
class NicknameTextControl;
class ReplicantHandler;
class ReplicantStatusView : public BView {

View File

@ -124,8 +124,8 @@ AIMProtocol::Process(BMessage* msg)
case CAYA_AWAY:
imcomm_set_away(fIMCommHandle, smsg);
break;
case CAYA_EXTENDED_AWAY:
imcomm_set_away(fIMCommHandle, smsg);
case CAYA_CUSTOM_STATUS:
//imcomm_set_away(fIMCommHandle, smsg);
//UnsupportedOperation(); ?
break;
case CAYA_DO_NOT_DISTURB:
@ -408,7 +408,7 @@ AIMProtocol::BuddyAwayMsg(void* imcomm, char* who, char* awaymsg)
msg.AddInt32("im_what", IM_STATUS_SET);
msg.AddString("protocol", kProtocolSignature);
msg.AddString("id", who);
msg.AddInt32("status", CAYA_EXTENDED_AWAY);
msg.AddInt32("status", CAYA_AWAY);
msg.AddString("message", strip_html(awaymsg));
gServerMsgr->SendMessage(&msg);