Adding new roster not exist in openfire

Hi,

with smack is there a way to forbide adding a new roster that does’nt existe in openfire user list ???

thx.

Hi marwan,

There is no way to do this directly but you could implement a solution by using smack’s search api to first check if the user exists attempting to add the user to a users roster.

Hope that helps,

Ryan