Skip to content

We don't appear to be retrying /sendToDevice requests #1866

@dkasak

Description

@dkasak

I don't think we're retrying failed /sendToDevice requests. This comment seems to agree.

This is especially bad when e.g. sharing room keys in encryptAndSendKeysToDevices since we might end up marking a key as sent to a device when in reality the request failed. Though I'm not sure whether the then(...) is executed if the request fails or not.

All call sites:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions