aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java')
-rw-r--r--src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java b/src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java
index 20220da..e8e5b91 100644
--- a/src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java
+++ b/src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java
@@ -63,6 +63,8 @@ public class Messenger
* client user is on the phone.
*/
static final int MISTATUS_ON_THE_PHONE = 0x0032;
+
+ static final int MISTATUS_IN_A_MEETING = 0x0052;
static final int MISTATUS_ONLINE = 0x0002;
@@ -1122,6 +1124,18 @@ public class Messenger
{
mistatus = MISTATUS_ON_THE_PHONE;
}
+ else if ((i == 32 /* FIXME */)
+ && ProtocolNames.JABBER.equalsIgnoreCase(protocolName)
+ && JabberStatusEnum.IN_A_MEETING.equalsIgnoreCase(
+ presenceStatus.getStatusName()))
+ {
+ mistatus = MISTATUS_IN_A_MEETING;
+ }
+ else if (ProtocolNames.MSN.equalsIgnoreCase(protocolName)
+ && MsnStatusEnum.IN_A_MEETING.equals(presenceStatus))
+ {
+ mistatus = MISTATUS_IN_A_MEETING;
+ }
else if (i < PresenceStatus.ONLINE_THRESHOLD)
mistatus = MISTATUS_OFFLINE;
else if (i < PresenceStatus.AWAY_THRESHOLD)