igniterealtime / REST-API-Client

Java REST API Client for the Openfire to manage Openfire instances by sending an REST/HTTP request to the server
Apache License 2.0
102 stars 62 forks source link

How to know if the user is online #45

Closed liuyu9527 closed 3 years ago

Redor commented 3 years ago

You can get it over sessions (if there is a session for the username):

restApiClient.getSessions(String username);