I've been wrestling with trying to programmatically add contacts to a
user's roster. I've been trying to do this client-side by logging in as
user A, sending subscribe to B, logging in as B, accepting the subscribe,
sending subscribe back to A, and accepting B's subscribe. The problem is
that my 3rd party XMPP client is also logged in as A or B or both, and
there seems to be some interference that prevents all the events firing as
they should. The process appears to work if A and B are not logged on
anywhere else, but stop short in an 'to' and 'from' state if they are.
Here's my client-side (actually node.js server side) script.
Is there a less shonky way to do this?
Thank you for any ideas!
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.