powered by Jive Software

Roster addContact

Hi, I’'ve got some problems with the subscribing procedure.

I’‘m using my flash client and I’'m adding a Psi contact.

When I try to add a Contact to my roster, I get all the notification (also in PSI), and I can successfully complete the subscription process.

The problem is that Psi sees the flash user “Online”, but Flash don’'t.

If I log out and then log in, also the flash user is able to see the user just added

this is my code:

public function onSubscriptionRequest(evt){

log.info(“subscription request from:”+evt.jid);

//Open dialog… if dialog response is ok acceptSubscription

}

public function acceptSubscription(jid:String){

buddyRoster.grantSubscription(jid, true);

}

Thanks a lot.

Marco

Message was edited by:

marcon