Fixed a AIM plugin build error introduced in recent revs.
This commit is contained in:
parent
2ed795031f
commit
088a1bb5f5
|
@ -16,12 +16,12 @@
|
||||||
#include "CayaConstants.h"
|
#include "CayaConstants.h"
|
||||||
#include "CayaResources.h"
|
#include "CayaResources.h"
|
||||||
|
|
||||||
|
|
||||||
class BPopUpMenu;
|
class BPopUpMenu;
|
||||||
class BMenuField;
|
class BMenuField;
|
||||||
|
|
||||||
class BitmapView;
|
class BitmapView;
|
||||||
class NicknameTextControl;
|
class NicknameTextControl;
|
||||||
|
|
||||||
class ReplicantHandler;
|
class ReplicantHandler;
|
||||||
|
|
||||||
class ReplicantStatusView : public BView {
|
class ReplicantStatusView : public BView {
|
||||||
|
|
|
@ -124,8 +124,8 @@ AIMProtocol::Process(BMessage* msg)
|
||||||
case CAYA_AWAY:
|
case CAYA_AWAY:
|
||||||
imcomm_set_away(fIMCommHandle, smsg);
|
imcomm_set_away(fIMCommHandle, smsg);
|
||||||
break;
|
break;
|
||||||
case CAYA_EXTENDED_AWAY:
|
case CAYA_CUSTOM_STATUS:
|
||||||
imcomm_set_away(fIMCommHandle, smsg);
|
//imcomm_set_away(fIMCommHandle, smsg);
|
||||||
//UnsupportedOperation(); ?
|
//UnsupportedOperation(); ?
|
||||||
break;
|
break;
|
||||||
case CAYA_DO_NOT_DISTURB:
|
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.AddInt32("im_what", IM_STATUS_SET);
|
||||||
msg.AddString("protocol", kProtocolSignature);
|
msg.AddString("protocol", kProtocolSignature);
|
||||||
msg.AddString("id", who);
|
msg.AddString("id", who);
|
||||||
msg.AddInt32("status", CAYA_EXTENDED_AWAY);
|
msg.AddInt32("status", CAYA_AWAY);
|
||||||
msg.AddString("message", strip_html(awaymsg));
|
msg.AddString("message", strip_html(awaymsg));
|
||||||
|
|
||||||
gServerMsgr->SendMessage(&msg);
|
gServerMsgr->SendMessage(&msg);
|
||||||
|
|
Ŝarĝante…
Reference in New Issue