Skip to content

Conversation

@Hocuri
Copy link
Collaborator

@Hocuri Hocuri commented Aug 15, 2025

Companion PR for chatmail/core#7268

  • There is a new QR type DC_QR_ASK_JOIN_BROADCAST = 204 (CFFI) / AskJoinBroadcast (JsonRPC)
    • It should be handled just as DC_QR_ASK_VERIFYGROUP and DC_QR_ASK_VERIFYCONTACT, just that the dialog shown after scanning uses the translated string qrscan_ask_join_channel
  • Cloning an outgoing broadcast channel should be impossible
  • In the profile view of broadcast channels, Add member should be hidden, and instead QR Invite Code should be shown
  • While creating a broadcast channel:
    • the "Add Members"/"Add Recipients" option should be hidden.
    • The translated string chat_new_channel_hint should be shown.

TODO:

@github-actions
Copy link

github-actions bot commented Oct 7, 2025

To test the changes in this pull request, install this apk:
📦 app-preview.apk

@Hocuri Hocuri changed the title [WIP] feat: Adapt to channel-invite QR codes feat: Adapt to channel-invite QR codes Oct 8, 2025
@Hocuri Hocuri force-pushed the hoc/channels-encryption-only-qrcodes branch from 72d991d to 3378f77 Compare October 8, 2025 13:50
@github-actions
Copy link

github-actions bot commented Oct 8, 2025

To test the changes in this pull request, install this apk:
📦 app-preview.apk

@github-actions
Copy link

To test the changes in this pull request, install this apk:
📦 app-preview.apk

@Hocuri Hocuri requested a review from adbenitez October 21, 2025 14:18
if (dcContext.sendMsg(dcChat.getId(), msg) == 0) {
Util.runOnMain(()-> Toast.makeText(ConversationActivity.this, dcContext.getLastError(), Toast.LENGTH_LONG).show());
String lastError = dcContext.getLastError();
if (!"".equals(lastError)) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This check is so that we don't show an empty toast when sending a message into a legacy channel fails.

@github-actions
Copy link

To test the changes in this pull request, install this apk:
📦 app-preview.apk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants