2009/8/30 Jakob Schroeter <js@xxxxxxxxxx>:
> Quoting Ugnich Anton <ugnich@xxxxxxxxx>:
>
>> I using gloox for files receiving. How to send "item-not-found" error
>> to initiator, when I can't connect to any streamhost?
>> http://xmpp.org/extensions/xep-0065.html#example-13
>
> IQ iq( IQ::Error, ... );
> iq.addExtension( new Error( StanzaErrorTypeCancel, StanzaErrorItemNotFound )
> );
"id" in IQ-error must be the same, as in bytestreams query. Where can
I find this "id" inside BytestreamDataHandler?
Surely, I can pass it to BytestreamDataHandler constructor, but I
think there must be a better way, like "declineFT" in
SIProfileFTHandler.
--
Ugnich Anton, <ugnich@xxxxxxxxx>