There are two possible ways to handle offline messages that exceed the limitations:
. error
sending message with error type back to sender.
. drop
drop of message without notifications to sender.
By default, Tigase sends a message back to the original sender with an error type of service-unavailable
with a proper description of error according to XEP-0160.
However, it is possible to change this behavior to better suit your needs. This is done by adding the following line to your
config.tdsl
file.
'sess-man' { amp () { 'quota-exceeded' = 'drop' } }
This will force Tigase to drop packets that exceed the offline message limit.