I was attempting to make a way to move a RosterEntry from one group to another. My first thought was to use RosterGroup… but this approach is somewhat flawed as if there is an error in the add it is not recognized by RosterGroup. A good case for this is in Jive Messenger how there is the option to have preset groups made, and the server will return an error when these groups are modified from the client. So, there is no way for me to determine immeditaly determine whether or not the move was successful except for processing the packets myself, which is currently an undesirable path to take because I am depending heavily on Rosters, RosterGroups, and RosterEntries.
My second thought was to just use createEntry, because it does have error checking, but since this sends subscription packets everytime it is called, irregardless of whether you are already subscribed to the remote user’'s presence, this is also undesirable. So my final conclusion has been to create the packet myself like in createEntry without the subscribe as well.
Does anyone else have any other suggestions or can this RosterGroup issue be fixed in the future?
Thanks for the help