How to determine if user is offline?
Hi guys,
Could you please clarify how to determine if a user is offline?
For example, from client API I can see the following presence updates when the user went offline:
```
presence":[{"contact":"tel:","activity":"","status":"open"},{"contact":"im:","activity":"","status":"closed"}]}
```
Is it correct to say that the user is offline if and only if for `im` the `activity` is empty and `status` is `closed`?
Best regards,
Sergey