Skip to content

Element Call: Use content_loaded for element call widget timeout #5395

@toger5

Description

@toger5

The element call widget currently has a timeout to make sure a non-loading webview can be exited via an error modal. This timeout races against a user joining the call.

This is not the correct race in case the user is waiting in the lobby.

We want the race to be between the content_loaded FromWidget action and the timeout.

The content_loaded FromWidget will be sent once the widget code is running in the iframe. We assume that if the widget code is running we are on the save side and can close the widget from the EC webview.

iOS:
element-hq/element-x-ios#4534

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-DefectSomething isn't working: bugs, crashes, hangs and other reported problems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions