Contains customizations in order to better integrate Converse with Polaris webmail.
- Extends the base
AddContactModal
class- Shows a warning messages when a contact doesn't have a chat account (
chat_status !== 1
) - Adds the
text-danger
class to contact search results where the contact doesn't have a chat account.
- Shows a warning messages when a contact doesn't have a chat account (
npm install converse-add-contact-plugin
converse.initialize({
whitelisted_plugins: ['converse-polaris']
});
# Install dependencies
npm install
# Build bundle
npm run build
In your HTML, add:
<script type="module" src="path/to/converse-polaris/dist/plugin.js"></script>