Skip to content

Adding custom info to image events #847

Description

@kiliankoe

Hi 👋

I'm looking to customize the info and/or content dictionary of image events before sending them. It would be great if the SDK were to offer the ability to provide a dictionary of data (presumably of type [String: Any]) to MXRoom.sendImage(data:size:mimeType:thumbnail:localEcho:completion:) aside from the other arguments the contents of which were added to the event metadata prior to sending. I don't believe there's currently another option of doing so without sending a custom event and manually uploading the media content.

The idea is to be able to support BlurHashes and MSC2530 (without it [yet] being part of the spec) in clients.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions