From 77ae6f47152cb342a767ce49af25d0e0227e1303 Mon Sep 17 00:00:00 2001
From: henri2h
Date: Wed, 16 Feb 2022 16:41:35 +0100
Subject: [PATCH] feat: corrected last example
---
...39-matrix-for-the-social-media-use-case.md | 25 +++++++++----------
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/proposals/3639-matrix-for-the-social-media-use-case.md b/proposals/3639-matrix-for-the-social-media-use-case.md
index 5145df976..dab3cd00d 100644
--- a/proposals/3639-matrix-for-the-social-media-use-case.md
+++ b/proposals/3639-matrix-for-the-social-media-use-case.md
@@ -286,23 +286,22 @@ is to define events like this one
Read the full post in your favorite social matrix client",
"m.social.post": [
{
- "msgtype": "m.text",
- "body": "The first part of full text of story, located before image.",
+ "m.text": "The first part of full text of story, located before image.",
},
{
- "msgtype": "m.image",
- "url": "mxc://example.com/KUAQOesGECkQTgdtedkftISg",
- "body": "Image 1.jpg",
- "info": {
- "mimetype": "image/jpg",
- "size": 1153501,
- "w": 963,
- "h": 734,
- }
+ "m.file": {
+ "mimetype": "image/jpeg",
+ "name": "_MG_0641.jpg",
+ "size": 10158773,
+ "url": "mxc://"
+ },
+ "m.image": {
+ "height": 3456,
+ "width": 5184
+ },
},
{
- "msgtype": "m.text",
- "body": "The ending text of full story after image.",
+ "m.text": "The ending text of full story after image.",
}
]
}