-
I assume this is a type-o in your config and you intended use:
'sess-man' () { 'dynamic-rosters' () { class (class: com.audiocodes.tigase.CmmsRosterPlugin) { 'roster-in-e164' = 'true' } } }
init()
methods are no longer use and you use TigaseKernel capabilities - you simply annote your fields with@ConfigField
annotation:public class CmmsRosterPlugin implements DynamicRosterIfc { (desc = "test") private boolean roster-in-e164; // you can initialise it here with default value as well … }
and with your above config your
roster-in-e164
variable will be set totrue
-
I marked it as such after your initial submission: https://github.com/tigase/tigase-server/commit/344da14a5bb681d3342c4cef21b8b6c9b95aaad0
Dynamic roster is not working.
i followed the documentation to configure a dynamic roster:
from tigase documentation:
i did the same:
implement DynamicRosterIfc:
in config.tdsl:
i config i don't see the init function triggers.