1
Vote

Error in MOCSampleApp when changing status to custom status

description

When your own status is changed in Office Communicator to a custom status, for example 'Available - Mobile' the sample app just displays Available.
In the eventhandler void MyStatusChange you need to change the line:
myStatus.Text = MOCAutomation.Instance.GetTextStatus(e.mMyStatus);
to
myStatus.Text = MOCAutomation.Instance.GetTextStatus(MOCAutomation.Instance.GetSignedInUser());

comments