Problem with adding items to roster

1 view
Skip to first unread message

saklig

unread,
Dec 10, 2010, 7:48:43 AM12/10/10
to emite
Hi,

I´m having problems with making the subscibe process.
Apparently some of the subscribe messages never reach the client.

I am using a openfire server and emite0.6

When I send a "friend request / add contact" i do:

roster.requestAddItem(XmppURI.jid(jid), name, "Some Group");

the listener:

subscriptionManager.addSubscriptionRequestReceivedHandler(new
SubscriptionRequestReceivedHandler() {

@Override
public void onSubscriptionRequestReceived(
final SubscriptionRequestReceivedEvent event) {
.........
)
});

Usualy the subscribe message never arrives.
I have added an extra
subscriptionManager.requestSubscribe(XmppURI.jid(jid)); to see if
this improves the process. It did not improve :-(

I am using the org.jabber.JabberHTTPBind.JHBServlet

Any ideas ?
Reply all
Reply to author
Forward
0 new messages