jabberd14 1.6.2
Functions
base_unsubscribe.cc File Reference

base module base_unsubscribe: bounces messages and iqs, on receiving presences it sends unsubscribes More...

#include "jabberd.h"

Functions

void base_unsubscribe (pool p)

Detailed Description

base module base_unsubscribe: bounces messages and iqs, on receiving presences it sends unsubscribes

This module is intended to be used, if the administrator of a server discovers, that users of his server still have contacts on their rosters for which there is no server anymore. Instead of getting the logging messages telling about delivery failures, the admin can automatically create unsubscribes to remove the contacts from the users' rosters and create bounces for other stanzas.


Function Documentation

void base_unsubscribe ( pool  p)

load the base_unsubscribe base module by registering a configuration handler for <unsubscribe/>

Parameters:
pmemory pool used to register the configuration handler, must be available for the livetime of jabberd

References log_debug2, LOGT_INIT, register_config(), and ZONE.

Referenced by base_init().