2014-01-13 1 views
0

등록 된 유형 스탠자에서 콜백을받을 수있는 방법이 있습니까? 서버에서 XML 응답이 있지만 Strophe는 콜백을 트리거하지 않습니다.등록 된 스탠자가 콜백을 트리거합니까?

<body rid='576795248' xmlns='http://jabber.org/protocol/httpbind' sid='e3552b8d'><presence to='[email protected]' type='subscribed' xmlns='jabber:client' id='2:sendIQ'/></body> 

을 내가 받고 있어요 : 당신이 볼 수 있듯이

<body xmlns='http://jabber.org/protocol/httpbind'><iq xmlns="jabber:client" type="set" id="842-543" to="[email protected]"><query xmlns="jabber:iq:roster"><item jid="[email protected]" subscription="both"/></query></iq></body> 

는, 서버가 제대로 응답을 보내고 있지만, 좌향 선회는 트리거를하지 않는

내가 보내고있는 무슨이다 모든 콜백.

감사합니다.

답변

0

addHandler (func, Strophe.NS.ROSTER, 'iq')