cheogram-android
created pr with
cheogram-android/fix-jft.1
changed pr name to
Fix Jingle File Transfer
cmds
checkout latest patchset:
ssh pr.pico.sh pull cheogram-android:fix-jft | git am -3checkout specific patchset revision:
ssh pr.pico.sh pull cheogram-android:fix-jft [rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh cheogram-android:fix-jftadd comment to patch request:
ssh pr.pico.sh comment cheogram-android:fix-jft "lgtm!"
Patchset
cheogram-android/fix-jft.1
→ Compile time option to force IBB, for testing
Stephen Paul Weber
Fix compile time option to force diable HTTP upload, for testing
2026-11-18T21:36:05ZStephen Paul Weber
Send IBB close properly when done
2026-11-18T21:36:19ZStephen Paul Weber
Bigger IBB block size
2026-11-18T21:37:01ZStephen Paul Weber
Don't choke when optional type attribute is missing
2026-11-18T21:37:19ZStephen Paul Weber
2026-11-18T21:37:27Z
Compile time option to force IBB, for testing
Stephen Paul Weber
2026-11-18T21:36:05ZDiff stat
2 files changed, 4 insertions(+)
Semantic diff summary
0 added,
0 modified,
0 signature changed,
0 removed
across 0 analyzed files
(2 files skipped: unsupported file type)
+1
-0
src/main/java/eu/siacs/conversations/Config.java
#
| ... | ... | @@ -116,6 +116,7 @@ public final class Config { | |
| 116 | 116 | false; // disables STUN/TURN and Proxy65 look up (useful to debug IBB fallback) | |
| 117 | 117 | public static final boolean USE_DIRECT_JINGLE_CANDIDATES = true; | |
| 118 | 118 | public static final boolean USE_JINGLE_MESSAGE_INIT = true; | |
| 119 | + | public static final boolean FORCE_JINGLE_IBB = false; | |
| 119 | 120 | ||
| 120 | 121 | public static final boolean ENABLE_CAPS_CACHE = true; | |
| 121 | 122 |
+3
-0
src/main/java/eu/siacs/conversations/xmpp/jingle/JingleFileTransferConnection.java
#
| ... | ... | @@ -512,6 +512,9 @@ public class JingleFileTransferConnection extends AbstractJingleConnection | |
| 512 | 512 | private Transport setupTransport() { | |
| 513 | 513 | final XmppConnection xmppConnection = id.account.getXmppConnection(); | |
| 514 | 514 | final boolean useTor = id.account.isOnion() || xmppConnectionService.useTorToConnect(); | |
| 515 | + | if (Config.FORCE_JINGLE_IBB) { | |
| 516 | + | return setupLastResortTransport(); | |
| 517 | + | } | |
| 515 | 518 | if (!useTor && remoteHasFeature(Namespace.JINGLE_TRANSPORT_WEBRTC_DATA_CHANNEL)) { | |
| 516 | 519 | return new WebRTCDataChannelTransport( | |
| 517 | 520 | xmppConnectionService.getApplicationContext(), |