You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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]
) toMXRoom.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!
The text was updated successfully, but these errors were encountered: