Open Studiosus opened 9 years ago
I have the same problem.
Hi! In the XMPPIncomingFileTransfer try to add the following if condition in xmppStream:didReceiveIQ:
method
if ([iq.type isEqualToString:@"get"]) {
_transferState = XMPPIFTStateWaitingForSIOffer;
}
instead of
_transferState = XMPPIFTStateWaitingForSIOffer;
Hi everyone, Also take this line within the if block -
[self sendIdentity:iq];
like-
if ([iq.type isEqualToString:@"get"]) {
[self sendIdentity:iq];
_transferState = XMPPIFTStateWaitingForSIOffer;
}
in place of -
[self sendIdentity:iq];
_transferState = XMPPIFTStateWaitingForSIOffer;
Otherwise the sender will keep sending identity forever.
when user1 sends a file to user2 the transfer succeeds if after that user2 sends a file to user1 the transfer fails with "Timeout waiting for recipient
disco#info
response" error. tested with two servers (xmpp.jp and is-a-furry.org)logs: https://www.dropbox.com/sh/yvl0unuft31rntk/AAABytNyobwULb1peqn0ysbBa?dl=0