Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message attachments (multiple photos, files, other messages for forwarding, etc) #541

Open
MurzNN opened this issue Sep 11, 2019 · 15 comments
Labels
A-Client-Server Issues affecting the CS API enhancement A suggestion for a relatively simple improvement to the protocol

Comments

@MurzNN
Copy link
Contributor

MurzNN commented Sep 11, 2019

Many messengers allow attaching one or multiple media (file, photo, video), when user composing message text, and even other messages (eg for forwarding message from one room to other). But Matrix protocol now only can send one media per message (without text), so if user want to send several photos and text, it will generate several separate messages.

I can't find feature request about adding attachments to message, so create this new feature request.

As implementation, this can be simple field m.attachments, with list of msc:// urls for media, or event_id's for attach messages, eg for forwarding message to other room, in event content. Rendering attachments can be client-side feature.

@richvdh
Copy link
Member

richvdh commented Sep 11, 2019

related: #242

@uhoreg
Copy link
Member

uhoreg commented Sep 14, 2019

I would encourage anyone who writes a proposal for this to name it something like "Multiple Media in Messages", so that we can have more alliterative MSC titles.

@turt2live turt2live added A-Client-Server Issues affecting the CS API enhancement A suggestion for a relatively simple improvement to the protocol labels Sep 19, 2019
@Half-Shot
Copy link
Contributor

I would encourage anyone who writes a proposal for this to name it something like "Multiple Media in Messages", so that we can have more alliterative MSC titles.

Mmm

@MurzNN
Copy link
Contributor Author

MurzNN commented Sep 19, 2019

Maybe MITM (Multiple Items To Messages)? :-D

@MurzNN
Copy link
Contributor Author

MurzNN commented Sep 19, 2019

Single attachment to message is popular use case too, but missed now in Matrix (partly implemented as related in edits and replies). So we can implement single and multiple attachments together in one code.

@MurzNN
Copy link
Contributor Author

MurzNN commented May 27, 2020

Also we can use message attachments for forwarding messages (even multiple messages, like in Telegram), because current forward feature in Riot is simply copy-pasting text of source message to target. Related Riot-web issues: element-hq/element-web#5536 https://github.com/vector-im/riot-web/issues/5952

@MurzNN
Copy link
Contributor Author

MurzNN commented Dec 3, 2020

Here is my MSC with more detailed description matrix-org/matrix-spec-proposals#2881

@gabrc52
Copy link

gabrc52 commented Jul 30, 2023

Any update in 2023? Most messaging apps work like this, which makes it more convoluted to write bridges to send one message event with the text and one message event for every attachment.

I see that MSC1767 was merged, which is one of the alternatives listed in MSC2881, but I am not sure how this would work in practice.

@turt2live
Copy link
Member

MSC1767 is the start of a very long series of MSCs, and is expected to make further progress as we continue our IETF mission in the MIMI working group - TWIM will contain updates as we progress here (and generally the matrix.org blog).

@ThiefMaster
Copy link

I think being able to send an image with a message attached is an absolute requirement nowadays. So it would be really great to have that feature. Every other messenger has it as well.

My usecase: Sending someone a picture just w/o context may just confuse them. But especially on mobile you cannot QUICKLY send a message after the image, because typing on mobile devices is slow. So the only good way to send an image with context is to write the message, cut it, send the image, paste the message, and send it....

@gabrc52
Copy link

gabrc52 commented Mar 13, 2024

I think being able to send an image with a message attached is an absolute requirement nowadays. So it would be really great to have that feature. Every other messenger has it as well.

Yeah, it is. Thankfully now MSC2530 was approved, so it might make it to clients soon enough.

But especially on mobile you cannot QUICKLY send a message after the image, because typing on mobile devices is slow.

Could you file an issue for your mobile client if it hasn't been filed?

@ThiefMaster
Copy link

My second point was more about the fact that on a desktop you could already send the image and quickly write a message, while on a mobile phone it takes longer simply due to the inferior keyboard (onscreen vs full-size physical). So not really a problem on the Matrix/Element/whateverclient side

@anaqreon
Copy link

As an avid Matrix user and supporter, it is baffling to me how there have been so many exciting advances in the Matrix ecosystem since this issue was created over four years ago, and yet the ability to link room events together, in a way that clients could interpret for example as attached images and render accordingly, is still missing. As has been articulated by others, this is one of those features that would significantly improve the user experience at relatively low development cost. It is unlikely that the primary challenges are technical; I suspect that there must be some organizational obstacles related to the Matrix spec change process. Can anyone shed light on this?

@turt2live
Copy link
Member

The spec process requires implementation of an MSC (proposal) before it can reasonably continue through the process. Currently there are many proposals, including ones for Extensible Events, but little to no implementation. We'd really love to see this feature landed and have spent quite a bit of time working on Extensible Events already - if folks are interested in this feature, implementation would be greatly appreciated.

@NAM1025
Copy link

NAM1025 commented Jul 4, 2024

Very interested in this feature. It's the main thing keeping me from trying to get friends and family to use Matrix/Element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Client-Server Issues affecting the CS API enhancement A suggestion for a relatively simple improvement to the protocol
Projects
None yet
Development

No branches or pull requests

9 participants