Fixed issue with reconnection.
The common issue seems to be that when spark reconnects, the presence is not updated correctly.
. User B can see the online presence of User A.
. Break the connection to A and wait for more than 2 minutes.
Result: when spark reconnects, the presence must be updated to online.