First plugin realization: add/authorize automatically

hello everyone,

i am a newbee in plugin development for openfire. the first thing i would like to realize is the following:

add to contact list & authorize user automatically on first message

the writing user should be added to the contact list of the recipient.

the recipient user should be added to the contact list of the writer.

the existing plugin ‘‘Subscription’’ does only simulate this function on the writer side.

any ideas?

thanks.

I would not recommend this behavior, because its in conflict with the XMPP-Protocol. If you really want this it should be done on the client side!!

more info: http://www.xmpp.org/rfcs/rfc3921.html#int

Coolcat