From 82adcec4913e33bbc694f82a9322ea09945756f1 Mon Sep 17 00:00:00 2001 From: Tom Foster Date: Fri, 14 Feb 2025 11:21:45 +0000 Subject: [PATCH] Clarify `avatar_url` should be MXC --- data/api/client-server/profile.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/api/client-server/profile.yaml b/data/api/client-server/profile.yaml index 4a2fdbbe..5fcb840f 100644 --- a/data/api/client-server/profile.yaml +++ b/data/api/client-server/profile.yaml @@ -63,7 +63,7 @@ paths: description: "Spec-conformant displayname value; must be a string." avatar_url: type: string - description: "Spec-conformant avatar URL value; must be a string." + description: "Spec-conformant avatar URL value (MXC URI format); must be a string." additionalProperties: description: "Any additional profile field value; may be any valid JSON type." example: { "displayname": "Alice Wonderland" } @@ -161,7 +161,7 @@ paths: description: "Spec-conformant displayname value; must be a string." avatar_url: type: string - description: "Spec-conformant avatar URL value; must be a string." + description: "Spec-conformant avatar URL value (MXC URI format); must be a string." additionalProperties: description: "Any additional profile field value; may be any valid JSON type." examples: @@ -292,7 +292,7 @@ paths: avatar_url: type: string format: uri - description: "Spec-conformant avatar URL value; must be a string." + description: "Spec-conformant avatar URL value (MXC URI format); must be a string." displayname: type: string description: "Spec-conformant displayname value; must be a string."