Skip to content

Fix outdated warning because of e2ee calls - #6671

Merged
mahibi merged 2 commits into
masterfrom
fixOudatedWarningBecauseOfE2eeCalls
Sep 9, 2026
Merged

Fix outdated warning because of e2ee calls#6671
mahibi merged 2 commits into
masterfrom
fixOudatedWarningBecauseOfE2eeCalls

Conversation

@mahibi

@mahibi mahibi commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

fix #5892 until e2ee calls are possible

Show warnings when e2ee calls are enabled on server. They are not yet supported by the android talk app. But until now, the app show that it is outdated which is not true and confusing.

With this PR the app can be used for chatting but will show warnings when trying to call.

For this, a flag must be set on server to tell which android talk version "support" e2ee --> nextcloud/spreed#19352

How to test until the server change was made:
just set

    fun isCallEndToEndEncryptionEnabled(spreedCapabilities: SpreedCapability?): Boolean {
        return true
    }

Same solution as applied as for talk iOS:
nextcloud/talk-ios#2369
nextcloud/spreed#16955

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

…abled

Android previously showed a generic "outdated app" error whenever the
server had end-to-end-encryption for calls enabled, since the server
blocks unsupported client versions entirely. E2EE calling is not yet
implemented on Android, so instead of blocking the whole app, detect
the server's call E2EE capability and only warn the user when a call
is actually started or answered, leaving the rest of the app usable.

Mirrors the approach from talk-ios#2369.

Assisted-by: Claude Code:claude-sonnet-5

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
The heads-up notification shown for an incoming call that can't be
answered because the server has call E2EE enabled previously used a
generic title. Include the conversation name so the user can tell
which conversation the call came from.

Assisted-by: Claude Code:claude-sonnet-5

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
@mahibi mahibi added this to the 25.1.0 milestone Sep 9, 2026
@mahibi
mahibi requested a review from rapterjet2004 September 9, 2026 14:42
@mahibi mahibi self-assigned this Sep 9, 2026
@mahibi mahibi added the 3. to review Waiting for reviews label Sep 9, 2026
@mahibi

mahibi commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator Author

/backport to stable-25.0.x

@mahibi mahibi changed the title Fix oudated warning because of e2ee calls Fix outdated warning because of e2ee calls Sep 9, 2026

@AndyScherzinger AndyScherzinger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

APK file: https://github.com/nextcloud/talk-android/actions/runs/34365354058/artifacts/10110854316
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@mahibi
mahibi merged commit c50bd85 into master Sep 9, 2026
16 of 20 checks passed
@mahibi
mahibi deleted the fixOudatedWarningBecauseOfE2eeCalls branch September 9, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

End-to-end encryption enabled on Server breaks conversations

2 participants