aries-rfcs icon indicating copy to clipboard operation
aries-rfcs copied to clipboard

Message Content Type

Open cvarjao opened this issue 2 years ago • 2 comments

Bases on Aries RFC 0095: Basic Message Protocol 1.0, there is no way to to know if a message can contain rich text (e.g.: html, markup).

From an issuer perspective they may want to send message that contains links, and want to annotate those links in a nice hyperlink way.

Workaround:

  • parse URLs based on http:// and http:// and display as hyperlink

cvarjao avatar Jun 06 '23 16:06 cvarjao

The “plan” amongst the early community members was that there would be a “Rich Message Protocol” to compliment the “Basic Message Protocol”. Such a protocol was discussed at Rebooting Web of Trust in Fall 2022 by a group lead by @karimStekelenburg and demonstrated by (I think) @genaris that showed features like link sharing, image sharing, file sharing and so on.

I think the path to this is not to enhance Basic Message, but to define a protocol for advanced chat.

swcurran avatar Jun 06 '23 16:06 swcurran

Agreed with what Stephen said. The protocol purposely mentions the simplicity as a feature.

@genaris has made custom protocols (and plugins for AFJ) to do read receipts, image sharing, and other rich features.

TimoGlastra avatar Jun 06 '23 19:06 TimoGlastra