mod_groups_internal

Introduction

This module is functionally similar to mod_groups, but it differs by working without a configuration file (allowing changes without a restart of the server) and by permanently adding users to each other’s contact lists. To paraphrase mod_groups:

mod_groups_internal was designed to allow administrators to create virtual groups of users that automatically see each other in their contact lists. There is no need for the user to authorise these contacts in their contact list - this is done automatically on the server.

As an example, if you have a team of people working together on a project, you can create a group for that team. They will automatically be added to each others’ contact lists, and the list can easily be modified on the server at any time to add and remove people.

On user-deleted events, mod_groups_internal will automatically remove the deleted user from every group they were part of.

Setup

modules_enabled = {
    -- Other modules
    "groups_internal"; -- Enable mod_groups_internal
}

Configuration

Option Type Default Notes
groups_muc_host string? nil Host where the group chats will be created.

Usage

Exposed functions

Emitted events


Installation

With the plugin installer in Prosody 0.12 you can use:

sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_groups_internal

For earlier versions see the documentation for installing 3rd party modules