Removes advertising bytestream used for jabber file transfers, leaving ibb.

cusax-fix
Damian Minkov 14 years ago
parent 38a6027d29
commit 4fe69e0920

@ -94,6 +94,9 @@ public OperationSetFileTransferJabberImpl(
provider.addRegistrationStateChangeListener(
new RegistrationStateListener());
// use only ibb for file transfers
FileTransferNegotiator.IBB_ONLY = true;
}
/**

@ -1276,10 +1276,7 @@ private void registerServiceDiscoveryManager()
discoveryManager
= new ScServiceDiscoveryManager(
this,
// Remove features supported by smack, but not supported in
// Jitsi. bytestream don't work correctly.
new String[] { "http://jabber.org/protocol/commands",
Socks5BytestreamManager.NAMESPACE},
new String[] { "http://jabber.org/protocol/commands"},
// Add features Jitsi supports in addition to smack.
supportedFeatures.toArray(
new String[supportedFeatures.size()]));

Loading…
Cancel
Save