# openfire-callbackOnOffline-plugin **Repository Path**: frank2020/openfire-callbackOnOffline-plugin ## Basic Information - **Project Name**: openfire-callbackOnOffline-plugin - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-12 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
Plugin intercepts messages and checks if recipient is available. If not, plugin sends async POST request with JSON body to defined url.
Example JSON body:
{
"token":"21uh9d1h91d",
"from":"user@mychatapp.com",
"to":"user123@mychatapp.com",
"body":"Message body, so what user's typed"
}
plugin.callback_on_offline.debug - enable debug logs. If something doesn't work set property to trueplugin.callback_on_offline.url - url that will be calledplugin.callback_on_offline.token - token to be send with requestplugin.callback_on_offline.send_body - boolean value to determine if message's body will be send. True by default.