Closed spicajames closed 8 years ago
I don't want to have this in JSJaCPacket.js. This could go into some 'plugin' or 'extras' subdirectory as it's own file. But still I'd rather see such functionality as part of a whole roster management implementation than instead of just a selective part of it. It's nice to have it as a snippet though or at least as a good starting point for some higher level stuff. JSJaC itself should be kept minimalistic though.
SetPresenceSubscription
This allows to accept subscriptions in HandleIQ you could check each contact
SetGroup
You can add a member to a new group using something like this
RemoveRoster
You can delete a contact from a group using: