Skip to content

let UI know that a secure-join is ongoing #5475

Closed as not planned
Closed as not planned
@r10s

Description

@r10s

when the UI started a secure-join (via QR code or invite link), it is already allowed to write messages.

in general, this is okay - might be eg. there was anyways some chatting before, or one device is offline and one wants to get an urgent message out.

however, with chatmail, that can send only encrypted messages, sending attempts before secure-join has finished will fail, resulting in bad UX.

otoh, we should not do add much clutter to UI: if secure-join finishes fast (as it usually does), that would result in some flickering, the user has not read whatever we wrote and gets confused. therefore, the "half blocked" dialog is not really matching.

ad-hoc, the following comes to my mind UI wise:

  1. write "One moment ..." to the placeholder, but still allow tying and using attach and everything

  2. if the user really manages to text their message and hit "Sent" before secure-join finishes, show a warning "sending unencrypted messages might fail"

as a side-effect, this would also target the issue with non-chatmail, that QR code scanning still allows to send unencrypted.

that is doable UI-wise without much effort.

not, that this only affects one-to-one chats - groups are not usable anyways until secure-join is finished. with instant-onboarding allowing create-account&&secure-join in one step, this becomes even more visible

core-wise, i can imagine API as dc_chat_is_securejoin_ongoing() - but i also do not have the full picuture, maybe we already have sth?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions