we have some trouble with the presence module of JS SDK 18.104.22.168.
After login, we publish automatic presence like following:
Then, the user publishes manual presence state:
The manual state will be published and distributed to other clients.
But how should we clear the manual state correctly? We are resetting the manual state with unspecified:
With this, there is a strange behavior:
We receive 2 presenceupdate events, one with overall-availability "offline" and a following one with "available".
But many times we are receiving the events in reversed order. At first the "available" and then the "offline" event. So, the last user presence received from the JS SDK is "offline".
IX Workplace for Windows also receives the offline presence.
Please see the attached log file which contains the chrome console log output from JS SDK.
Are we anything missing here? Is the publishManualState with unspecified the incorrect way to reset a manual state?
Any other ideas where to investigate?